Change proj function name to not collide with proj.org
This commit is contained in:
parent
123da2fdf5
commit
2168dab40b
8
.zshrc
8
.zshrc
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user