fix(scripts): update paths
This commit is contained in:
parent
1a35b26bea
commit
0eee846185
5
bin/t
5
bin/t
|
@ -11,7 +11,10 @@ if [[ $# -eq 1 ]]; then
|
||||||
else
|
else
|
||||||
# Get the session name from fuzzy-finding list of directories and generating a
|
# Get the session name from fuzzy-finding list of directories and generating a
|
||||||
# tmux-safe version.
|
# tmux-safe version.
|
||||||
selected=$(find ~/Code -mindepth 1 -maxdepth 2 -type d ! -name .git | sort | fzf --reverse)
|
items=$(find ~/Code -mindepth 1 -maxdepth 2 -type d ! -name .git)
|
||||||
|
items+="$HOME/Code/dotfiles"
|
||||||
|
|
||||||
|
selected=$(echo "${items}" | sort | fzf --reverse)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z $selected ]]; then
|
if [[ -z $selected ]]; then
|
||||||
|
|
Loading…
Reference in a new issue