dotfiles/fish.configlink/functions/projects.fish

17 lines
298 B
Fish
Raw Normal View History

2020-08-02 00:06:16 +00:00
#!/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