Commit 6a496d2c authored by Robby Russell's avatar Robby Russell
Browse files

Merge pull request #3323 from alfss/fix-pj

[~] fix plugin pj
parents df5b09e2 0c04470f
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment