Update fish shell config

This commit is contained in:
Colin Powell
2018-12-05 23:42:13 -05:00
parent bb640a3d4e
commit dc1727b9e4
31 changed files with 978 additions and 15 deletions

View File

@ -0,0 +1,9 @@
function fasd_cd -d "fasd builtin cd"
if test (count $argv) -le 1
command fasd "$argv"
else
set -l ret (command fasd -e 'printf %s' $argv)
test -z "$ret"; and return
test -d "$ret"; and cd "$ret"; or printf "%s\n" $ret
end
end