diff --git a/zellij-ps.fish b/zellij-ps.fish index 1e03e44..a88933d 100755 --- a/zellij-ps.fish +++ b/zellij-ps.fish @@ -1,13 +1,15 @@ #!/usr/bin/env fish # This is a small zellij project switcher # +# This script is strongly inspired by the Tmux Sessionizer of @ThePrimaegen: +# https://github.com/ThePrimeagen/.dotfiles/blob/master/bin/.local/scripts/tmux-sessionizer +# # For defining project folders export the variable $PROJECT_FOLDERS in your favourite shell # The folders should by delimited by a : # Fish example: set -x PROJECT_FOLDERS ~/projects:~/Downloads/My Folder set -l IFS ':' set folders (string split ':' -- $PROJECT_FOLDERS | string replace -r '^~' $HOME) -echo $folders if count $argv > 1 set selected $argv[1]