double quotes for proper variable expansion
This commit is contained in:
parent
8c3f25425e
commit
f197d77b03
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ function _pj () {
|
||||||
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
|
||||||
|
|
Loading…
Add table
Reference in a new issue