From c01825df2b18bb98ad96073a68c6123b623572d6 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sat, 23 Oct 2021 12:37:00 +0300 Subject: fix(tmux): follow symlinks in tmux-menu script --- tmux/.local/bin/tmux-menu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmux/.local/bin/tmux-menu.sh') diff --git a/tmux/.local/bin/tmux-menu.sh b/tmux/.local/bin/tmux-menu.sh index dd6c8d9..a0fa6e2 100755 --- a/tmux/.local/bin/tmux-menu.sh +++ b/tmux/.local/bin/tmux-menu.sh @@ -10,7 +10,7 @@ if [ $(echo $SELECTED | grep '.yml') ]; then else # Project directory was selected, find its full path (in any of the dirs) for dir in $PROJECTS_DIRS; do - FULL_PATH=$(find $dir -maxdepth 1 -type d -name $SELECTED) + FULL_PATH=$(find -L $dir -maxdepth 1 -type d -name $SELECTED) if [ -n "$FULL_PATH" ]; then # Start project based on the template tmuxinator start --no-attach -p=$HOME/.config/tmuxinator/.template.yml name=$SELECTED root=$FULL_PATH 2>/dev/null & -- cgit v1.2.3