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
6a8d406e
Commit
6a8d406e
authored
Aug 16, 2015
by
Marc Cornellà
Browse files
Use prompt expansion sequence to color red the output
This makes it clearer and possibly more portable for different platforms.
parent
3976e040
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/completion.zsh
View file @
6a8d406e
...
...
@@ -60,7 +60,7 @@ zstyle '*' single-ignored show
if
[[
$COMPLETION_WAITING_DOTS
=
true
]]
;
then
expand-or-complete-with-dots
()
{
echo
-n
"
\e
[31m
......
\e
[0m
"
print
-
P
n
"
%{%F{red}
......
%f%}
"
zle expand-or-complete
zle redisplay
}
...
...
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