mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +00:00
fix(fish): improved tmux_sessionizer tmux_attach
This commit is contained in:
parent
8a04e17d9d
commit
a98530a3eb
3 changed files with 7 additions and 6 deletions
|
|
@ -1,9 +1,9 @@
|
|||
function tmux_attach
|
||||
|
||||
if test -z $argv
|
||||
set -f cmd "fish"
|
||||
set cmd "fish"
|
||||
else
|
||||
set -f cmd "$argv"
|
||||
set cmd "$argv"
|
||||
end
|
||||
|
||||
set -f choice (string join ';' "new" (tmux list-sessions -F "#{session_name}") | tr ';' '\n' | fzf)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue