chore: rename tmux-sessioniser
- Rename `tmux-sessioniser` to `t`. - Search only within the `~/Code` directory instead of using zoxide.
This commit is contained in:
parent
6f08c2de82
commit
ee44c41652
|
@ -11,7 +11,7 @@ if [[ $# -eq 1 ]]; then
|
|||
else
|
||||
# Get the session name from fuzzy-finding list of directories and generating a
|
||||
# tmux-safe version.
|
||||
selected=$(zoxide query -l | sort | fzf --reverse)
|
||||
selected=$(find ~/Code -type d -mindepth 1 -maxdepth 2 ! -name .git | sort | fzf --reverse)
|
||||
fi
|
||||
|
||||
if [[ -z $selected ]]; then
|
Loading…
Reference in a new issue