mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 07:20:40 +01:00
committed by
Sergey Kravchuk
parent
df5b09e20b
commit
0c04470f63
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user