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
Oh My Zsh
Commits
3976e040
Commit
3976e040
authored
Aug 19, 2015
by
Marc Cornellà
Browse files
Use proper if comparison
parent
9c08641d
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/completion.zsh
View file @
3976e040
...
@@ -58,7 +58,7 @@ zstyle ':completion:*:*:*:users' ignored-patterns \
...
@@ -58,7 +58,7 @@ zstyle ':completion:*:*:*:users' ignored-patterns \
# ... unless we really want to.
# ... unless we really want to.
zstyle
'*'
single-ignored show
zstyle
'*'
single-ignored show
if
[
"x
$COMPLETION_WAITING_DOTS
"
=
"x
true
"
]
;
then
if
[
[
$COMPLETION_WAITING_DOTS
=
true
]
]
;
then
expand-or-complete-with-dots
()
{
expand-or-complete-with-dots
()
{
echo
-n
"
\e
[31m......
\e
[0m"
echo
-n
"
\e
[31m......
\e
[0m"
zle expand-or-complete
zle expand-or-complete
...
...
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