Skip to content

Commit 6d2044f

Browse files
committed
Don't put tmux window in background
Some contributor made the decision to do this, which seems pretty silly to me.
1 parent 7d79b45 commit 6d2044f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/rails.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ function! s:app_background_script_command(cmd) dict abort
848848
elseif exists("$STY") && !has("gui_running") && screen && executable("screen")
849849
silent exe "!screen -ln -fn -t ".s:sub(s:sub(a:cmd,'\s.*',''),'^%(script|-rcommand)/','rails-').' '.cmd
850850
elseif exists("$TMUX") && !has("gui_running") && screen && executable("tmux")
851-
silent exe '!tmux new-window -d -n "'.s:sub(s:sub(a:cmd,'\s.*',''),'^%(script|-rcommand)/','rails-').'" "'.cmd.'"'
851+
silent exe '!tmux new-window -n "'.s:sub(s:sub(a:cmd,'\s.*',''),'^%(script|-rcommand)/','rails-').'" "'.cmd.'"'
852852
else
853853
exe "!".cmd
854854
endif

0 commit comments

Comments
 (0)