Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
0f498e8d
Commit
0f498e8d
authored
Dec 30, 2016
by
Patrick José Pereira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'themes/trapd00r.zsh-theme: Solve typos'
Signed-off-by:
Patrick José Pereira
<
patrickelectric@gmail.com
>
parent
0c7bb4de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
trapd00r.zsh-theme
themes/trapd00r.zsh-theme
+2
-2
No files found.
themes/trapd00r.zsh-theme
View file @
0f498e8d
...
@@ -36,7 +36,7 @@ local c12=$(printf "\e[38;5;142m\e[1m")
...
@@ -36,7 +36,7 @@ local c12=$(printf "\e[38;5;142m\e[1m")
local
c13
=
$(
printf
"
\e
[38;5;196m
\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
if
[
"
$TERM
"
=
"linux"
]
;
then
c1
=
$(
printf
"
\e
[34;1m"
)
c1
=
$(
printf
"
\e
[34;1m"
)
c2
=
$(
printf
"
\e
[35m"
)
c2
=
$(
printf
"
\e
[35m"
)
...
@@ -71,7 +71,7 @@ prompt_jnrowe_precmd () {
...
@@ -71,7 +71,7 @@ prompt_jnrowe_precmd () {
PROMPT
=
'%{$fg_bold[green]%}%p%{$reset_color%}${vcs_info_msg_0_}${dir_status} ${ret_status}%{$reset_color%}
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
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
%})"
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%}
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