Add proj func

This commit is contained in:
Kevin Cotugno 2021-12-20 06:18:14 -07:00
parent aec7c287f1
commit 7095fac7dc

8
.zshrc
View File

@ -86,6 +86,14 @@ function weather() {
curl -sSL "wttr.in/$loc?" curl -sSL "wttr.in/$loc?"
} }
function proj {
local proj="$1"
if [[ ! -d "$DEVPATH/$proj" ]]; then echo "Unknown project $proj"; return; fi
cd "$DEVPATH/$proj"
}
alias e='$EDITOR' alias e='$EDITOR'
alias s="du -sh" alias s="du -sh"