Add proj func
This commit is contained in:
parent
aec7c287f1
commit
7095fac7dc
8
.zshrc
8
.zshrc
@ -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"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user