diff options
author | Toby Vincent <tobyv13@gmail.com> | 2022-10-24 14:19:30 -0500 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2022-10-24 14:19:30 -0500 |
commit | ba63a9fb546de0e493628bd587f26db9e20de2f0 (patch) | |
tree | 68eec8f520439520c2f576d074747724add1b579 /tmux/.local/bin | |
parent | c00544a404b6b8fa8c871a2c44d535b802612f36 (diff) |
fix(tmux): update sessionizer timestamp.sh args
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 |