FZF: only use fd --strip-cwd-prefix for files
This commit is contained in:
parent
59adfdd89e
commit
f3f2931d57
1 changed files with 2 additions and 2 deletions
|
@ -35,8 +35,8 @@ export PATH="$HOME/.cargo/bin:$PATH"
|
|||
export GOPATH=~/.go
|
||||
|
||||
# fzf settings
|
||||
export FD_COMMAND='fd --strip-cwd-prefix -HLt'
|
||||
export FZF_DEFAULT_COMMAND="$FD_COMMAND f"
|
||||
export FD_COMMAND='fd -HLt'
|
||||
export FZF_DEFAULT_COMMAND="$FD_COMMAND f --strip-cwd-prefix"
|
||||
export FZF_ALT_C_COMMAND="$FD_COMMAND d"
|
||||
export FZF_DEFAULT_OPTS='-m --ansi --bind ctrl-a:toggle-all,ctrl-d:deselect-all,ctrl-t:toggle-all'
|
||||
export FZF_COMPLETION_TRIGGER='**'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue