dotfiles/fish.configlink/functions/projects.fish
2020-08-01 20:06:16 -04:00

17 lines
298 B
Fish

#!/usr/bin/local/fish
function projects --description "Projects tools"
alias proj='cd $PROJ'
function prj --description "cd to a project"
set projdir (ls $PROJ | fzf)
if [ $status -eq 0 ]
cd $projdir
else
return 1
end
end
end