|
|
@ -32,9 +32,7 @@ function pj() {
|
|
|
|
return
|
|
|
|
return
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
echo "No such project $1"
|
|
|
|
echo "No such project $1"
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
alias pjo="pj open"
|
|
|
|
alias pjo="pj open"
|
|
|
@ -45,7 +43,6 @@ function _pj () {
|
|
|
|
projects=($PROJECT_PATHS/*)
|
|
|
|
projects=($PROJECT_PATHS/*)
|
|
|
|
projects=$projects:t
|
|
|
|
projects=$projects:t
|
|
|
|
_arguments '*:file:($projects)'
|
|
|
|
_arguments '*:file:($projects)'
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
compdef _pj pj
|
|
|
|
compdef _pj pj
|
|
|
|