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
|
if test -f /usr/share/fzf/key-bindings.fish
|
||||||
# source /usr/share/fzf/key-bindings.fish
|
source /usr/share/fzf/key-bindings.fish
|
||||||
# else
|
else
|
||||||
# source /usr/share/fzf/fzf-key-bindings.fish
|
source /usr/share/fzf/fzf-key-bindings.fish
|
||||||
# end
|
end
|
||||||
# fzf_key_bindings
|
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