fish: rename tmux helper functions

This commit is contained in:
Primrose 2024-11-15 18:51:50 +01:00
parent d29efab025
commit 64d001455a
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
12 changed files with 24 additions and 24 deletions

View file

@ -1,19 +0,0 @@
function tmux_home \
--description "Take me back to ~"
set session_name home
if pgrep tmux 2>&1 >/dev/null
__tmux_register_session
end
if pgrep tmux 2>&1 >/dev/null; or ! tmux has -t=$session_name 2>/dev/null
tmux \
new-session -ds home \; \
new-window -t home \; \
select-window -t "home":1
end
__tmux_attach_or_switch $session_name
end