aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tmux
diff options
context:
space:
mode:
Diffstat (limited to 'tmux')
-rwxr-xr-xtmux/.local/bin/tmux-sessionizer2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmux/.local/bin/tmux-sessionizer b/tmux/.local/bin/tmux-sessionizer
index e688544..29a0efc 100755
--- a/tmux/.local/bin/tmux-sessionizer
+++ b/tmux/.local/bin/tmux-sessionizer
@@ -10,7 +10,7 @@ if [ "$#" -eq 0 ]; then
HEIGHT=$([ "$lines" -gt "40" ] && printf %s "40" || printf %s "90%")
# shellcheck disable=2046
- set -- $(projectr ~/src ~/.dotfiles --git | sed "\|^$(tmux display -p '#{session_path}')\$|d" |
+ set -- $(projectr ~/src ~/.dotfiles --git --max-depth=3 | sed "\|^$(tmux display -p '#{session_path}')\$|d" |
fzf-tmux -p "$WIDTH,$HEIGHT" -- --tac --multi --print-query -d/ --with-nth -1 \
--preview-window='right,75%,<80(up,75%,border-bottom)' --preview="$PREVIEW_CMD" |
tr -s '\n' ' ') && [ $# -gt 1 ] && shift