mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 02:40:14 +00:00
change proj functions for new dir structure
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user