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
b57118bd
Commit
b57118bd
authored
Sep 19, 2013
by
Robby Russell
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2065 from prudprud/master
Replace no unicode glyph on hexa string
parents
0582bd19
baffc3b0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
agnoster.zsh-theme
themes/agnoster.zsh-theme
+4
-4
No files found.
themes/agnoster.zsh-theme
View file @
b57118bd
...
...
@@ -26,7 +26,7 @@
# A few utility functions to make it easy and re-usable to draw segmented prompts
CURRENT_BG
=
'NONE'
SEGMENT_SEPARATOR
=
'
'
SEGMENT_SEPARATOR
=
'
\u2b80
'
# Begin a segment
# Takes two arguments, background and foreground. Both can be omitted,
...
...
@@ -90,7 +90,7 @@ prompt_git() {
zstyle
':vcs_info:*'
formats
' %u%c'
zstyle
':vcs_info:*'
actionformats
'%u%c'
vcs_info
echo
-n
"
${
ref
/refs\/heads\//
}${
vcs_info_msg_0_
}
"
echo
-n
"
${
ref
/refs\/heads\//
\u2b60
}${
vcs_info_msg_0_
}
"
fi
}
...
...
@@ -110,7 +110,7 @@ prompt_hg() {
# if working copy is clean
prompt_segment green black
fi
echo
-n
$(
hg prompt
"
{rev}@{branch}"
)
$st
echo
-n
$(
hg prompt
"
\u
2b60
{rev}@{branch}"
)
$st
else
st
=
""
rev
=
$(
hg
id
-n
2>/dev/null |
sed
's/[^-0-9]//g'
)
...
...
@@ -124,7 +124,7 @@ prompt_hg() {
else
prompt_segment green black
fi
echo
-n
"
$rev
@
$branch
"
$st
echo
-n
"
\u
2b60
$rev
@
$branch
"
$st
fi
fi
}
...
...
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