mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-15 01:48:34 -07:00
parent
df5b09e20b
commit
0c04470f63
@ -42,8 +42,8 @@ function _pj () {
|
||||
# might be possible to improve this using glob, without the basename trick
|
||||
typeset -a projects
|
||||
projects=($PROJECT_PATHS/*)
|
||||
projects=$projects:t
|
||||
_arguments '*:file:($projects)'
|
||||
projects=$projects:t
|
||||
_arguments "*:file:($projects)"
|
||||
}
|
||||
|
||||
compdef _pj pj
|
||||
|
Loading…
Reference in New Issue
Block a user