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
85426a57
Commit
85426a57
authored
Apr 12, 2013
by
Robby Russell
Browse files
Merge pull request #1526 from filipechagas/master
Gitfast plugin - Untracked files char not shown %
parents
085af13b
021e6de3
Changes
2
Show whitespace changes
Inline
Side-by-side
plugins/gitfast/git-prompt.sh
View file @
85426a57
...
...
@@ -275,7 +275,7 @@ __git_ps1 ()
if
[
-n
"
${
GIT_PS1_SHOWUNTRACKEDFILES
-
}
"
]
;
then
if
[
-n
"
$(
git ls-files
--others
--exclude-standard
)
"
]
;
then
u
=
"%"
u
=
"%
%
"
fi
fi
...
...
themes/crcandy.zsh-theme
0 → 100644
View file @
85426a57
PROMPT=$'
%{$fg_bold[green]%}%n@%m %{$fg[blue]%}%D{[%I:%M:%S]} %{$reset_color%}%{$fg[white]%}[%~]%{$reset_color%} $(git_prompt_info)\
%{$fg[blue]%}->%{$fg_bold[blue]%} %#%{$reset_color%} '
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}["
ZSH_THEME_GIT_PROMPT_SUFFIX="]%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}*%{$fg[green]%}"
ZSH_THEME_GIT_PROMPT_CLEAN=""
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