Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
0c04470f
Commit
0c04470f
authored
Nov 14, 2014
by
Kravchuk S.V
Committed by
Sergey Kravchuk
Nov 16, 2014
Browse files
[~] fix plugin pj
https://github.com/robbyrussell/oh-my-zsh/commit/bce74975d055529cbd186782e2fd99e6da840460
parent
df5b09e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/pj/pj.plugin.zsh
View file @
0c04470f
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment