mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-26 21:15:37 +00:00
17 lines
298 B
Fish
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
|