Add completion for p

This commit is contained in:
Kevin Cotugno 2022-12-23 07:03:30 -07:00
parent 2168dab40b
commit fbebe5b845

6
.zshrc
View File

@ -96,6 +96,12 @@ function p {
cd "$DEVPATH/$project" 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"