mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-23 14:20:08 +00: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
|
||||
# There is an SCCS folder. Does it host SCCS files and does it
|
||||
# have "dirty" files?
|
||||
local IS_SCCS_FOLDER=false
|
||||
[[ -n SCCS/s.*(#qN) ]] && IS_SCCS_FOLDER=true
|
||||
local is_sccs_folder=false
|
||||
[[ -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 SCCS_CHECK=`sccs tell`
|
||||
if [[ -n $SCCS_CHECK ]]; then
|
||||
local sccs_check_command=`sccs tell`
|
||||
if [[ -n $sccs_check_command ]]; then
|
||||
# We have dirty files here.
|
||||
_EDITED_SYM="$ZSH_THEME_SCCS_PROMPT_DIRTY"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue