fish: activar alt+c

This commit is contained in:
Cat /dev/Nulo 2023-02-07 15:53:00 -03:00
parent 1f972af866
commit 39589cb623

View file

@ -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