[~] fix plugin pj

bce74975d0
This commit is contained in:
Kravchuk S.V 2014-11-14 13:05:11 +03:00 committed by Sergey Kravchuk
parent df5b09e20b
commit 0c04470f63

View file

@ -42,8 +42,8 @@ function _pj () {
# might be possible to improve this using glob, without the basename trick
typeset -a projects
projects=($PROJECT_PATHS/*)
projects=$projects:t
_arguments '*:file:($projects)'
projects=$projects:t
_arguments "*:file:($projects)"
}
compdef _pj pj