mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix: fish: simply copy the fish functions to the destination
This commit is contained in:
parent
3d1064bd31
commit
6169d1e7ff
16 changed files with 34 additions and 29 deletions
|
|
@ -1,3 +1,4 @@
|
|||
function tmux_last
|
||||
# create session if doesn't exist
|
||||
set session_name (cat /tmp/TMUX_LAST)
|
||||
if ! tmux has-session -t=$session_name 2> /dev/null
|
||||
|
|
@ -17,3 +18,4 @@ if [ -z $TMUX ]
|
|||
else
|
||||
tmux switch-client -t $session_name
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue