Compare commits

..

2 Commits

14
.zshrc
View File

@ -88,14 +88,20 @@ 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"
} }
function _p {
compadd $(ls $DEVPATH)
}
compdef _p p
alias e='$EDITOR' alias e='$EDITOR'
alias s="du -sh" alias s="du -sh"
alias sd="du -hd 1" alias sd="du -hd 1"