addet tmux-function
This commit is contained in:
parent
e312eddf84
commit
f67fa90399
3 changed files with 13 additions and 1 deletions
9
functions/tmux.fish
Normal file
9
functions/tmux.fish
Normal file
|
@ -0,0 +1,9 @@
|
|||
if command -v tmux 2>&1
|
||||
function ta
|
||||
if command tmux list-sessions 2>&1
|
||||
tmux a
|
||||
else
|
||||
tmux
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue