1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-21 03:41:57 +00:00

Merge pull request #3323 from alfss/fix-pj

[~] fix plugin pj
This commit is contained in:
Robby Russell 2014-11-19 12:40:59 -08:00
commit 6a496d2cca

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