Switch fasd distro #fishshell

This commit is contained in:
Colin Powell
2019-01-07 14:36:01 -05:00
parent 8383551ba7
commit 8f25c5e5ce
26 changed files with 60 additions and 37 deletions

View File

@ -5,5 +5,9 @@ set -q FZF_PREVIEW_FILE_CMD; or set -U FZF_PREVIEW_FILE_CMD "head -n 10"
set -q FZF_PREVIEW_DIR_CMD; or set -U FZF_PREVIEW_DIR_CMD "ls"
function fzf_uninstall -e fzf_uninstall
# Erase env vars and __fzf functions here.
set -l _vars (set | command grep -E "^FZF.*\$" | command awk '{print $1;}')
for var in $_vars
echo $var
eval (set -e $var)
end
end