diff options
| author | vladislav doster <10052309+vladdoster@users.noreply.github.com> | 2024-03-26 03:55:16 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-26 09:55:16 +0100 |
| commit | 1d09c6bb0a950756a65b02457842933e3aa493eb (patch) | |
| tree | d3da2149911d18975d3ca88158971e4207328950 /themes/Soliah.zsh-theme | |
| parent | a168efe73e467c7164ef9b49dea61e9aefd27a48 (diff) | |
| download | zsh-1d09c6bb0a950756a65b02457842933e3aa493eb.tar.gz zsh-1d09c6bb0a950756a65b02457842933e3aa493eb.tar.bz2 zsh-1d09c6bb0a950756a65b02457842933e3aa493eb.zip | |
style: remove trailing whitespace (#12303)
Diffstat (limited to 'themes/Soliah.zsh-theme')
| -rw-r--r-- | themes/Soliah.zsh-theme | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/themes/Soliah.zsh-theme b/themes/Soliah.zsh-theme index c3dd6af89..e297fe9ca 100644 --- a/themes/Soliah.zsh-theme +++ b/themes/Soliah.zsh-theme @@ -5,10 +5,10 @@ ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[white]%}" ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%})" # Text to display if the branch is dirty -ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}*%{$reset_color%}" +ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}*%{$reset_color%}" # Text to display if the branch is clean -ZSH_THEME_GIT_PROMPT_CLEAN="" +ZSH_THEME_GIT_PROMPT_CLEAN="" # Colors vary depending on time lapsed. ZSH_THEME_GIT_TIME_SINCE_COMMIT_SHORT="%{$fg[green]%}" @@ -36,7 +36,7 @@ function rvm_gemset() { GEMSET=`rvm gemset list | grep '=>' | cut -b4-` if [[ -n $GEMSET ]]; then echo "%{$fg[yellow]%}$GEMSET%{$reset_color%}|" - fi + fi fi } @@ -52,12 +52,12 @@ function git_time_since_commit() { # Totals MINUTES=$((seconds_since_last_commit / 60)) HOURS=$((seconds_since_last_commit/3600)) - + # Sub-hours and sub-minutes DAYS=$((seconds_since_last_commit / 86400)) SUB_HOURS=$((HOURS % 24)) SUB_MINUTES=$((MINUTES % 60)) - + if [[ -n $(git status -s 2> /dev/null) ]]; then if [ "$MINUTES" -gt 30 ]; then COLOR="$ZSH_THEME_GIT_TIME_SINCE_COMMIT_LONG" |
