aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tmux/.local
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-11-30 17:32:23 -0600
committerToby Vincent <tobyv13@gmail.com>2022-11-30 17:32:23 -0600
commit9b122341823010191e34e5285061f1b823a3852f (patch)
tree0c388f88bc2f27833aff9ffedc1b0c02dd70452d /tmux/.local
parent19735c1469cd82dc6834f1ad326b6e32236dc048 (diff)
feat(tmux): increase max depth on sessionizer
Diffstat (limited to 'tmux/.local')
-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