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

@ -1,6 +1,6 @@
function __fasd_run -e fish_preexec -d "fasd takes record of the directories changed into"
if test $argv[1] != "exit"
command fasd --proc (command fasd --sanitize "$argv") > "/dev/null" 2>&1 &
end
function __fasd_run -e fish_postexec -d "fasd takes record of the directories changed into"
set -lx RETVAL $status
if test $RETVAL -eq 0 # if there was no error
command fasd --proc (command fasd --sanitize (eval echo "$argv") | tr -s " " \n) > "/dev/null" 2>&1 &
end
end