dotfiles/modules/programs/tmux/tmux-sessionizer/completions.fish

2 lines
161 B
Fish

complete -c ts -f -a '(fd -HIg '.git' ~/ --min-depth 1 --max-depth 5 --type d --prune --exec realpath "{}/.." | xargs -I{} basename {} | string replace "." "")'