Fix fuzzy directory search
Fixed search to be passed along to cd, not the rifle command.
This commit is contained in:
parent
900b949a7a
commit
215f93d65a
1 changed files with 2 additions and 2 deletions
|
@ -31,8 +31,8 @@ fi
|
||||||
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 rifle"
|
alias F="fzf -c 'find ~ -type f' --preview='head -$LINES {}' | xargs rifle"
|
||||||
|
|
||||||
alias d="fzf -c 'find . -type d' --preview='ls --color='always' {}' | xargs rifle"
|
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 | xargs rifle"
|
alias D="fzf -c 'find ~ -type d' --preview='ls --color='always' {}' --color=dark --ansi | cd"
|
||||||
|
|
||||||
# Display fuzzy-searchable history
|
# Display fuzzy-searchable history
|
||||||
alias zhfind="history | fzf --tac --height 20"
|
alias zhfind="history | fzf --tac --height 20"
|
||||||
|
|
Loading…
Reference in a new issue