dotfiles/.local/bin/scripts/zfz

8 lines
271 B
Plaintext
Raw Normal View History

#!/bin/sh
# fzf for zoxide
2021-11-10 16:42:28 +00:00
# returns the selected path stripped of its score
fzf -0 -1 -n2.. --tiebreak=index \
--preview-window=20% --preview="ls -a --color --human-readable --group-directories-first --file-type {2..}" \
--height=80% --reverse |
sed 's|.* /|/|'