File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ bind-key c new-window dbxe
4
4
bind-key C new-window
5
5
6
6
# open specific distrobox container using N
7
- bind-key N command-prompt -p " distrobox container:" " new-window 'dbxe %1'"
7
+ bind-key N command-prompt -p " distrobox container:" " new-window 'dbxe %1; or exec fish -l '"
8
8
bind-key E command-prompt -p " new ephemeral distrobox container:" " new-window 'dbxeph %1'"
9
9
10
10
# run commands in either host or distrobox
11
- bind-key r command-prompt -p " run command (distrobox):" " new-window 'dbxe -- fish -c \" %1 \" '"
12
- bind-key R command-prompt -p " run command (host):" " new-window '%1 '"
11
+ bind-key r command-prompt -p " run command (distrobox):" " new-window 'dbxe -- fish -c \" begin; %1; end; or exec fish -l \" ; or exec fish -l '"
12
+ bind-key R command-prompt -p " run command (host):" " new-window 'begin; %1; end; or exec fish -l '"
13
13
14
14
# split panes using | and - (distrobox) and H and V (host)
15
15
bind-key | split-window -h dbxe
Original file line number Diff line number Diff line change 49
49
if args .detach :
50
50
tmx_cmd .append ('-d' )
51
51
52
- CMD_STR = ' ' .join (args .args )
52
+ CMD_STR = f"begin; { ' ' .join (args .args )} ; end; or exec fish -l"
53
53
if mode == 'container' :
54
- CMD_STR = f"dbxe -- fish -c '{ CMD_STR } '"
54
+ CMD_STR = f"dbxe -- fish -c '{ CMD_STR } '; or exec fish -l "
55
55
tmx_cmd .append (CMD_STR )
56
56
57
57
lib .utils .run (tmx_cmd )
You can’t perform that action at this time.
0 commit comments