fish: activar alt+c
This commit is contained in:
parent
1f972af866
commit
39589cb623
1 changed files with 10 additions and 6 deletions
|
@ -1,6 +1,10 @@
|
|||
# if test -f /usr/share/fzf/key-bindings.fish
|
||||
# source /usr/share/fzf/key-bindings.fish
|
||||
# else
|
||||
# source /usr/share/fzf/fzf-key-bindings.fish
|
||||
# end
|
||||
# fzf_key_bindings
|
||||
if test -f /usr/share/fzf/key-bindings.fish
|
||||
source /usr/share/fzf/key-bindings.fish
|
||||
else
|
||||
source /usr/share/fzf/fzf-key-bindings.fish
|
||||
end
|
||||
set FZF_ALT_C_COMMAND "
|
||||
command find -L \$dir -mindepth 1 \\( -path \$dir'*/\\.*' \\) -prune \
|
||||
-o -type d -print 2> /dev/null | sed 's@^\./@@'"
|
||||
fzf_key_bindings
|
||||
bind \cr history-pager
|
||||
|
|
Loading…
Reference in a new issue