Created
August 6, 2025 02:20
-
-
Save nerflad/ce35872719b8d7ef0873ede559825f29 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function z --wraps=zellij --description 'alias z zellij' | |
| if [ -z "$argv" ] | |
| if zellij list-sessions | |
| zellij attach "$hostname" | |
| else | |
| zellij | |
| end | |
| else | |
| zellij $argv | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment