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?"
}
function proj {
local proj="$1"
function p {
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'