Add some useful zellij functions

This commit is contained in:
Daniel Lynn 2025-04-16 15:28:08 -05:00
parent f906dd126c
commit 527d79e8b1
Signed by: daniel
GPG Key ID: 28496A140E180A9D

View File

@ -19,7 +19,16 @@ if (( $+commands[zellij] )); then
} }
fi fi
# Name tabs after current working directory
if [[ -v ZELLIJ ]]; then if [[ -v ZELLIJ ]]; then
zellij action rename-tab "${PWD##*/}" function zrt {
zellij action rename-tab "${PWD##*/}"
}
function znt {
zellij action new-tab
}
zrt
fi fi
fi fi