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
6a496d2c
Commit
6a496d2c
authored
Nov 19, 2014
by
Robby Russell
Browse files
Merge pull request #3323 from alfss/fix-pj
[~] fix plugin pj
parents
df5b09e2
0c04470f
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/pj/pj.plugin.zsh
View file @
6a496d2c
...
...
@@ -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