Fix quoting in fzf-widget settings, switch to active fork
This commit is contained in:
parent
bae17dfdc5
commit
29829e9c36
4 changed files with 3 additions and 9 deletions
|
@ -100,14 +100,10 @@ bindkey "^xf" fzf-insert-files
|
|||
bindkey "^xd" fzf-insert-directory
|
||||
bindkey "^xn" fzf-insert-named-directory
|
||||
|
||||
# Start fzf in a tmux pane
|
||||
FZF_WIDGET_TMUX=1
|
||||
|
||||
# use fd for finding directories and files
|
||||
FZF_CHANGE_DIR_FIND_COMMAND="fd -t d"
|
||||
FZF_INSERT_DIR_COMMAND="fd -t d"
|
||||
FZF_INSERT_FILES_COMMAND="fd -t f"
|
||||
FZF_EDIT_FILES_COMMAND="fd -t f"
|
||||
|
||||
# modify history command to remove duplicates
|
||||
FZF_HISTORY_COMMAND="fc -l 1 | sed s/ *[0-9]* //g | awk !seen[\$0]++"
|
||||
FZF_HISTORY_COMMAND="fc -l 1 | sed 's/ *[0-9]* //g' | awk '!seen[\$0]++'"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue