change completion header from file to project

This commit is contained in:
mkcode 2014-11-19 04:23:08 +11:00
parent f197d77b03
commit 14cfdc7760

View file

@ -42,7 +42,7 @@ function _pj () {
typeset -a projects
projects=($PROJECT_PATHS/*)
projects=$projects:t
_arguments "*:file:($projects)"
_arguments "*:project:($projects)"
}
compdef _pj pj