mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-19 02:41:57 +00:00
commit
6a496d2cca
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue