From 2168dab40b70439ebacc2b00aec78d9bda6564d4 Mon Sep 17 00:00:00 2001 From: Kevin Cotugno Date: Fri, 23 Dec 2022 07:03:05 -0700 Subject: [PATCH] Change proj function name to not collide with proj.org --- .zshrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.zshrc b/.zshrc index e521385..8c8e6b9 100644 --- a/.zshrc +++ b/.zshrc @@ -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'