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
9b0a75ca
Commit
9b0a75ca
authored
Nov 20, 2010
by
Julien Nicoulaud
Browse files
Avoid duplicate path cropping
parent
b0c39ec7
Changes
1
Hide whitespace changes
Inline
Side-by-side
themes/nicoulaj.zsh-theme
View file @
9b0a75ca
...
@@ -36,7 +36,7 @@ zstyle ':vcs_info:*:*' unstagedstr '!'
...
@@ -36,7 +36,7 @@ zstyle ':vcs_info:*:*' unstagedstr '!'
zstyle
':vcs_info:*:*'
stagedstr
'+'
zstyle
':vcs_info:*:*'
stagedstr
'+'
zstyle
':vcs_info:*:*'
actionformats
"%S"
"%r/%s/%b %u%c (%a)"
zstyle
':vcs_info:*:*'
actionformats
"%S"
"%r/%s/%b %u%c (%a)"
zstyle
':vcs_info:*:*'
formats
"%S"
"%r/%s/%b %u%c"
zstyle
':vcs_info:*:*'
formats
"%S"
"%r/%s/%b %u%c"
zstyle
':vcs_info:*:*'
nvcsformats
"%
$PROMPT_PATH_MAX_LENGTH
<..<%~%<<
"
""
zstyle
':vcs_info:*:*'
nvcsformats
"%
~
"
""
# Define prompts.
# Define prompts.
PROMPT
=
"%(0?.%{
$PROMPT_SUCCESS_COLOR
%}.%{
$PROMPT_FAILURE_COLOR
%})
${
SSH_TTY
:+[%n@%m]
}
%{
$FX
[bold]%}%
$PROMPT_PATH_MAX_LENGTH
<..<"
'${vcs_info_msg_0_%%.}'
"%<<%(!.
$PROMPT_ROOT_END
.
$PROMPT_DEFAULT_END
)%{
$FX
[no-bold]%}%{
$FX
[reset]%} "
PROMPT
=
"%(0?.%{
$PROMPT_SUCCESS_COLOR
%}.%{
$PROMPT_FAILURE_COLOR
%})
${
SSH_TTY
:+[%n@%m]
}
%{
$FX
[bold]%}%
$PROMPT_PATH_MAX_LENGTH
<..<"
'${vcs_info_msg_0_%%.}'
"%<<%(!.
$PROMPT_ROOT_END
.
$PROMPT_DEFAULT_END
)%{
$FX
[no-bold]%}%{
$FX
[reset]%} "
...
...
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