Skip to content

Commit ec268de

Browse files
authored
Merge pull request #36 from metakirby5/master
Run open commands in the background.
2 parents f99d318 + 525bf49 commit ec268de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

open.tmux

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ get_editor_from_the_env_var() {
3636

3737
command_generator() {
3838
local command_string="$1"
39-
echo "xargs -I {} tmux run-shell 'cd #{pane_current_path}; $command_string \"{}\" > /dev/null'"
39+
echo "xargs -I {} tmux run-shell -b 'cd #{pane_current_path}; $command_string \"{}\" > /dev/null'"
4040
}
4141

4242
search_command_generator() {
4343
local command_string="$1"
4444
local engine="$2"
4545

46-
echo "xargs -I {} tmux run-shell 'cd #{pane_current_path}; $command_string $engine\"{}\" > /dev/null'"
46+
echo "xargs -I {} tmux run-shell -b 'cd #{pane_current_path}; $command_string $engine\"{}\" > /dev/null'"
4747
}
4848

4949
generate_open_command() {

0 commit comments

Comments
 (0)