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
3b5300c2
Commit
3b5300c2
authored
Sep 19, 2015
by
Robby Russell
Browse files
Merge pull request #4252 from Fice-T/master
Fix graphical bug in cypher theme when return status is non-zero
parents
9bd88bb9
c66c3aef
Changes
1
Hide whitespace changes
Inline
Side-by-side
themes/cypher.zsh-theme
View file @
3b5300c2
# Based on evan's prompt
# Shows the exit status of the last command if non-zero
# Uses "#" instead of "»" when running with elevated privileges
PROMPT="%m %{${fg_bold[red]}%}:: %{${fg[green]}%}%3~%(0?. . ${fg[red]}%? )%{${fg[blue]}%}»%{${reset_color}%} "
PROMPT="%m %{${fg_bold[red]}%}:: %{${fg[green]}%}%3~%(0?. .
%{
${fg[red]}%
}%
? )%{${fg[blue]}%}»%{${reset_color}%} "
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