aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-10-24 14:19:30 -0500
committerToby Vincent <tobyv13@gmail.com>2022-10-24 14:19:30 -0500
commitba63a9fb546de0e493628bd587f26db9e20de2f0 (patch)
tree68eec8f520439520c2f576d074747724add1b579
parentc00544a404b6b8fa8c871a2c44d535b802612f36 (diff)
fix(tmux): update sessionizer timestamp.sh args
-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 8cf2658..7e8bad3 100755
--- a/tmux/.local/bin/tmux-sessionizer
+++ b/tmux/.local/bin/tmux-sessionizer
@@ -19,7 +19,7 @@ if [ "$#" -eq 0 ]; then
fd . "$PROJECT_DIR" "$DOCKER_DIR" --type=d --max-depth=1
fd . "$SESSION_DIR" --type=f --max-depth=1 | sed "s|^$SESSION_DIR/||" | sed 's#%%\|__#/#g'
} | sed 's|/$||' | sed "\|^$HOME\$|d" | sed "\|^$ATTACHED\$|d" | sort -u |
- timestamp.sh --git --sessions="$SESSION_DIR" --format="{}:{1}" | sort -r | cut -d':' -f2 |
+ timestamp.sh --type=directory --git --sessions="$SESSION_DIR" --format="{}:{1}" | sort -r | cut -d':' -f2 |
fzf-tmux -p "$WIDTH,$HEIGHT" -- --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
fi