diff options
Diffstat (limited to 'tmux/.local/bin')
-rwxr-xr-x | tmux/.local/bin/tmux-sessionizer | 2 |
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 |