Change proj function name to not collide with proj.org

This commit is contained in:
Kevin Cotugno 2022-12-23 07:03:05 -07:00
parent 123da2fdf5
commit 2168dab40b

8
.zshrc
View File

@ -88,12 +88,12 @@ function weather() {
curl -sSL "https://wttr.in/$loc?" curl -sSL "https://wttr.in/$loc?"
} }
function proj { function p {
local proj="$1" local project="$1"
if [[ ! -d "$DEVPATH/$proj" ]]; then echo "Unknown project $proj"; return; fi if [[ ! -d "$DEVPATH/$project" ]]; then echo "Unknown project $project"; return; fi
cd "$DEVPATH/$proj" cd "$DEVPATH/$project"
} }
alias e='$EDITOR' alias e='$EDITOR'