change proj functions for new dir structure

This commit is contained in:
Noah Masur
2020-12-12 18:36:02 -07:00
parent a33dbdb276
commit d50482639c
2 changed files with 3 additions and 7 deletions

View File

@ -2,15 +2,12 @@
function projects --description "Projects tools"
set PROJ $HOME/dev/work
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
and cd $PROJ/$projdir
end
end