Commit 0c04470f authored by Kravchuk S.V's avatar Kravchuk S.V Committed by Sergey Kravchuk
Browse files
parent df5b09e2
...@@ -42,8 +42,8 @@ function _pj () { ...@@ -42,8 +42,8 @@ function _pj () {
# might be possible to improve this using glob, without the basename trick # might be possible to improve this using glob, without the basename trick
typeset -a projects typeset -a projects
projects=($PROJECT_PATHS/*) projects=($PROJECT_PATHS/*)
projects=$projects:t projects=$projects:t
_arguments '*:file:($projects)' _arguments "*:file:($projects)"
} }
compdef _pj pj 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