1
0
Fork 0

double quotes for proper variable expansion

pull/730/head
mkcode 10 years ago
parent 8c3f25425e
commit f197d77b03

@ -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…
Cancel
Save