diff --git a/.config/shell/rc.d/fuzzy-finding.sh b/.config/shell/rc.d/fuzzy-finding.sh index e8fbebd..98ecd34 100644 --- a/.config/shell/rc.d/fuzzy-finding.sh +++ b/.config/shell/rc.d/fuzzy-finding.sh @@ -27,9 +27,8 @@ else fi # set up fuzzy file and directory search -# TODO still uses rifle (from ranger fm) - decide whether to keep it or not -alias f="fzf -c 'find . -type f' --preview='head -$LINES {}' | xargs rifle" -alias F="fzf -c 'find ~ -type f' --preview='head -$LINES {}' | xargs rifle" +alias f="fzf -c 'find . -type f' --preview='head -$LINES {}' | xargs xdg-open" +alias F="fzf -c 'find ~ -type f' --preview='head -$LINES {}' | xargs xdg-open" alias d="fzf -c 'find . -type d' --preview='ls --color='always' {}' | cd" alias D="fzf -c 'find ~ -type d' --preview='ls --color='always' {}' --color=dark --ansi | cd"