From 0eee84618518172af6039e46522bf22817b0c397 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 13 Jun 2023 19:57:25 +0100 Subject: [PATCH] fix(scripts): update paths --- bin/t | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/t b/bin/t index fefc89c..a8cca94 100755 --- a/bin/t +++ b/bin/t @@ -11,7 +11,10 @@ if [[ $# -eq 1 ]]; then else # Get the session name from fuzzy-finding list of directories and generating a # 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 if [[ -z $selected ]]; then