From e790a831fd500b743898d8973cdde945d13238ff Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Mon, 21 Dec 2020 17:17:20 +0800 Subject: [PATCH] [bugfix] fzf options wasn't picked up by fzf.vim --- cli/fish/config.fish | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cli/fish/config.fish b/cli/fish/config.fish index ec5471a..fa82fc0 100644 --- a/cli/fish/config.fish +++ b/cli/fish/config.fish @@ -5,11 +5,11 @@ if status is-interactive set -gx EDITOR v # === fzf configuration - set -U FZF_DEFAULT_COMMAND 'ag -g ""' - set -U FZF_COMPLETE 0 - set -U FZF_FIND_FILE_COMMAND 'ag -g ""' - set -U FZF_OPEN_COMMAND 'ag -g ""' - set -U FZF_DEFAULT_OPTS '--height 40% --preview "bat --style=numbers --color=always --line-range :500 {}"' + set -gx FZF_DEFAULT_COMMAND 'ag -g ""' + set -gx FZF_COMPLETE 0 + set -gx FZF_FIND_FILE_COMMAND 'ag -g ""' + set -gx FZF_OPEN_COMMAND 'ag -g ""' + set -gx FZF_DEFAULT_OPTS '--height 40% --preview "bat --style=numbers --color=always --line-range :500 {}"' # === less configuration # no line-wrapping, good for `docker ps`