aboutsummaryrefslogtreecommitdiff
path: root/tmux/.local/bin
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2021-10-23 12:37:00 +0300
committereug-vs <eugene@eug-vs.xyz>2021-10-23 12:37:00 +0300
commitc01825df2b18bb98ad96073a68c6123b623572d6 (patch)
tree0a60c00b6c0fdcee1ede7eaf649e3e315fa73ff7 /tmux/.local/bin
parentac19c606c36abbe2f9376aa6da28282c339dcefc (diff)
downloaddotfiles-c01825df2b18bb98ad96073a68c6123b623572d6.tar.gz
fix(tmux): follow symlinks in tmux-menu script
Diffstat (limited to 'tmux/.local/bin')
-rwxr-xr-xtmux/.local/bin/tmux-menu.sh2
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 &