mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-03 03:37:36 +00:00
refactor(config): wrap tmux actions with exec for proper command launching
This commit is contained in:
1 parent
e80798d723
commit
29187bc763
1 file changed
+3
-3
@@ -13,7 +13,7 @@
|
|||||||
"description": "new window in the pane's directory",
|
"description": "new window in the pane's directory",
|
||||||
"category": "Tools",
|
"category": "Tools",
|
||||||
"aliases": ["fm"],
|
"aliases": ["fm"],
|
||||||
"action": { "tmux": "new-window -c '#{pane_current_path}' yazi" }
|
"action": { "tmux": "new-window -c '#{pane_current_path}' 'exec yazi'" }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"icon": "",
|
"icon": "",
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
"description": "nvim to the right, 50/50",
|
"description": "nvim to the right, 50/50",
|
||||||
"category": "Tools",
|
"category": "Tools",
|
||||||
"aliases": ["nv"],
|
"aliases": ["nv"],
|
||||||
"action": { "tmux": "split-window -h -l 50% -c '#{pane_current_path}' nvim" }
|
"action": { "tmux": "split-window -h -l 50% -c '#{pane_current_path}' 'exec nvim'" }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"icon": "",
|
"icon": "",
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
"description": "atuin-pick in a split below",
|
"description": "atuin-pick in a split below",
|
||||||
"category": "Tools",
|
"category": "Tools",
|
||||||
"aliases": ["hist"],
|
"aliases": ["hist"],
|
||||||
"action": { "tmux": "split-window -v -l 25% -c '#{pane_current_path}' atuin-pick" }
|
"action": { "tmux": "split-window -v -l 25% -c '#{pane_current_path}' 'exec atuin-pick'" }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"icon": "",
|
"icon": "",
|
||||||
|
|||||||
Reference in new issue
Block a user