diff --git a/fish/config/config.fish b/fish/config/config.fish index ac15d12..cc7a03e 100644 --- a/fish/config/config.fish +++ b/fish/config/config.fish @@ -3,6 +3,7 @@ set -gx EDITOR nvim # enable fzf completion hotkey +#set -gx FZF_DEFAULT_COMMAND 'ag -g ""' set -U FZF_COMPLETE 0 # no line-wrapping, good for `docker ps` set -gx LESS "-SRXF" diff --git a/fish/install.sh b/fish/install.sh index ecf8618..12400a4 100755 --- a/fish/install.sh +++ b/fish/install.sh @@ -10,7 +10,7 @@ case "$PM" in ! which pip3 && $ROOT/python/install.sh sudo add-apt-repository ppa:fish-shell/release-3 -y sudo apt update - sudo apt install fish libnotify-bin xdotool -y + sudo apt install fish libnotify-bin xdotool silversearcher-ag -y if apt show fzf &>/dev/null; then sudo apt install fzf elif ! which fzf &>/dev/null; then @@ -20,7 +20,7 @@ case "$PM" in ;; pacman) ! which pip && $ROOT/python/install.sh - sudo pacman -S --needed --needed fish xdotool fzf + sudo pacman -S --needed --needed fish xdotool fzf the_silver_searcher ;; esac