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
0f498e8d
Commit
0f498e8d
authored
Dec 30, 2016
by
Patrick José Pereira
Browse files
'themes/trapd00r.zsh-theme: Solve typos'
Signed-off-by:
Patrick José Pereira
<
patrickelectric@gmail.com
>
parent
0c7bb4de
Changes
1
Show whitespace changes
Inline
Side-by-side
themes/trapd00r.zsh-theme
View file @
0f498e8d
...
...
@@ -36,7 +36,7 @@ local c12=$(printf "\e[38;5;142m\e[1m")
local
c13
=
$(
printf
"
\e
[38;5;196m
\e
[1m"
)
# We dont want to use the extended colorset in the TTY / VC.
# We don
'
t want to use the extended colorset in the TTY / VC.
if
[
"
$TERM
"
=
"linux"
]
;
then
c1
=
$(
printf
"
\e
[34;1m"
)
c2
=
$(
printf
"
\e
[35m"
)
...
...
@@ -71,7 +71,7 @@ prompt_jnrowe_precmd () {
PROMPT
=
'%{$fg_bold[green]%}%p%{$reset_color%}${vcs_info_msg_0_}${dir_status} ${ret_status}%{$reset_color%}
> '
# modified, to be commited
# modified, to be commit
t
ed
elif
[[
$(
git diff
--cached
--name-status
2>/dev/null
)
!=
""
]]
;
then
dir_status
=
"%{
$c1
%}%n%{
$c4
%}@%{
$c2
%}%m%{
$c0
%}:%{
$c3
%}%l%{
$c6
%}->%{
$(
zsh_path
)
%} %{
$c0
%}(%{
$c5
%}%?%{
$c0
%})"
PROMPT
=
'${vcs_info_msg_0_}%{$30%} %{$bg_bold[red]%}%{$fg_bold[cyan]%}C%{$fg_bold[black]%}OMMIT%{$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