diff options
author | eug-vs <eugene@eug-vs.xyz> | 2021-10-23 12:37:00 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2021-10-23 12:37:00 +0300 |
commit | c01825df2b18bb98ad96073a68c6123b623572d6 (patch) | |
tree | 0a60c00b6c0fdcee1ede7eaf649e3e315fa73ff7 /tmux/.local/bin | |
parent | ac19c606c36abbe2f9376aa6da28282c339dcefc (diff) | |
download | dotfiles-c01825df2b18bb98ad96073a68c6123b623572d6.tar.gz |
fix(tmux): follow symlinks in tmux-menu script
Diffstat (limited to 'tmux/.local/bin')
-rwxr-xr-x | tmux/.local/bin/tmux-menu.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 & |