Commit df67f2ee authored by Frank Louwers's avatar Frank Louwers
Browse files

[pj-plugin] avoid using basename. migth be (a lot?) faster

parent 9674a96b
...@@ -43,7 +43,7 @@ function _pj () { ...@@ -43,7 +43,7 @@ function _pj () {
typeset -a projects typeset -a projects
foreach i ($PROJECT_PATHS/*) foreach i ($PROJECT_PATHS/*)
do do
projects+=`basename $i` projects+=(${i##*/})
done done
_arguments '*:file:($projects)' _arguments '*:file:($projects)'
......
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