mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
Style fixed
This commit is contained in:
parent
c77cc7a8e0
commit
c7dbc84889
1 changed files with 5 additions and 5 deletions
|
@ -8,14 +8,14 @@ function sccs_prompt_info () {
|
||||||
if [ -d SCCS ]; then
|
if [ -d SCCS ]; then
|
||||||
# There is an SCCS folder. Does it host SCCS files and does it
|
# There is an SCCS folder. Does it host SCCS files and does it
|
||||||
# have "dirty" files?
|
# have "dirty" files?
|
||||||
local IS_SCCS_FOLDER=false
|
local is_sccs_folder=false
|
||||||
[[ -n SCCS/s.*(#qN) ]] && IS_SCCS_FOLDER=true
|
[[ -n SCCS/s.*(#qN) ]] && is_sccs_folder=true
|
||||||
|
|
||||||
if [ "$IS_SCCS_FOLDER" = true ]; then
|
if [ "$is_sccs_folder" = true ]; then
|
||||||
local _EDITED_SYM="$ZSH_THEME_SCCS_PROMPT_CLEAN"
|
local _EDITED_SYM="$ZSH_THEME_SCCS_PROMPT_CLEAN"
|
||||||
|
|
||||||
local SCCS_CHECK=`sccs tell`
|
local sccs_check_command=`sccs tell`
|
||||||
if [[ -n $SCCS_CHECK ]]; then
|
if [[ -n $sccs_check_command ]]; then
|
||||||
# We have dirty files here.
|
# We have dirty files here.
|
||||||
_EDITED_SYM="$ZSH_THEME_SCCS_PROMPT_DIRTY"
|
_EDITED_SYM="$ZSH_THEME_SCCS_PROMPT_DIRTY"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue