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
147f1dc7
"plugins/vscode:/vscode.git/clone" did not exist on "aeadd7371b244468aadf81a48e6009a4aa612f23"
Commit
147f1dc7
authored
Nov 09, 2009
by
Toon Claes
Browse files
Modifying changes for issue 25, to fix issue 27
parent
729fd0ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/git.zsh
View file @
147f1dc7
...
...
@@ -5,7 +5,7 @@ function git_prompt_info() {
}
parse_git_dirty
()
{
if
[[
$((
git status
&
>
/
dev/null
)
|
tail
-
n1
)
!=
"nothing to commit (working directory clean)"
]]
;
then
if
[[
$((
git status
2
>
/
dev/null
)
|
tail
-
n1
)
!=
"nothing to commit (working directory clean)"
]]
;
then
echo
"
$ZSH_THEME_GIT_PROMPT_DIRTY
"
else
echo
"
$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