diff options
author | Toby Vincent <tobyv13@gmail.com> | 2023-05-14 16:48:11 -0500 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2023-05-14 16:48:11 -0500 |
commit | c5fd657cd77cd2e3510fb3623b29982fa771687a (patch) | |
tree | 6534c3259d82b8be4fe59d00ef4dc225b40c0a2a /tmux/.local/bin | |
parent | cef808ea44f9ebfd48028be0bef857da67b2f800 (diff) |
refactor(tmux): replace exa with tree
Diffstat (limited to 'tmux/.local/bin')
-rwxr-xr-x | tmux/.local/bin/tmux-sessionizer | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tmux/.local/bin/tmux-sessionizer b/tmux/.local/bin/tmux-sessionizer index f102420..5dd89a1 100755 --- a/tmux/.local/bin/tmux-sessionizer +++ b/tmux/.local/bin/tmux-sessionizer @@ -1,9 +1,9 @@ #!/bin/sh if [ "$#" -eq 0 ]; then - GIT_PREVIEW='onefetch --include-hidden' - DIR_PREVIEW='exa --tree --git-ignore --level=3 --icons' - PREVIEW_CMD="($GIT_PREVIEW {} || $DIR_PREVIEW {}) 2>/dev/null" + GIT_PREVIEW='onefetch --include-hidden {}' + DIR_PREVIEW='tree -CL 3 --gitignore --noreport --filelimit=50 {}' + PREVIEW_CMD="($GIT_PREVIEW || $DIR_PREVIEW) 2>/dev/null" # shellcheck disable=2046 set -- $( |