Files
dotfiles/config/fish/conf.d/__fasd_run.fish
2019-01-07 14:36:01 -05:00

7 lines
281 B
Fish

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