From ca369775b43e8a148e0bc615198b32c12beb851a Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Mon, 13 Feb 2023 21:20:17 +0000 Subject: [PATCH] Follow symlinks for ts() --- .config/scripts/functions/fzf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/scripts/functions/fzf b/.config/scripts/functions/fzf index 7b2b84b..39a455b 100644 --- a/.config/scripts/functions/fzf +++ b/.config/scripts/functions/fzf @@ -24,7 +24,7 @@ cfg() # session there with the name of the directory. ts() { - dir=$(find $HOME/.config $HOME/Documents -type d | fzf) + dir=$(find -L $HOME/.config $HOME/Documents -type d | fzf) [ -z "$dir" ] && return tmux new -s $(basename "$dir") -c "$dir" }