ref(nix): drop fish legacy support

This commit is contained in:
Léana 江 2024-01-19 20:11:36 +01:00 committed by Léana 江
parent 074e78751a
commit 1bec5057c7
21 changed files with 2 additions and 2 deletions

View file

@ -0,0 +1,18 @@
function tmux_home
# create session if doesn't exist
if ! tmux has-session -t="home" 2> /dev/null
tmux \
new-session -ds "home" \; \
new-window -t "home" \; \
select-window -t "home":1
end
set -U TMUX_LAST (tmux display-message -p '#S')
if [ -z $TMUX ]
tmux attach-session -t "home"
else
tmux switch-client -t "home"
end
end