diff options
Diffstat (limited to 'config/zsh')
| -rw-r--r-- | config/zsh/plugins/timer.zsh | 2 | ||||
| -rw-r--r-- | config/zsh/theme.zsh | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/config/zsh/plugins/timer.zsh b/config/zsh/plugins/timer.zsh index 73d9673..3610877 100644 --- a/config/zsh/plugins/timer.zsh +++ b/config/zsh/plugins/timer.zsh @@ -7,7 +7,7 @@ function precmd() { now=$(($(date +%s%0N)/1000000)) elapsed=$(($now-$timer)) - export RPROMPT="%F{magenta}${elapsed}ms %{$reset_color%}" + export RPROMPT="%F{cyan}${elapsed}ms %{$reset_color%}" unset timer fi } diff --git a/config/zsh/theme.zsh b/config/zsh/theme.zsh index c6341df..e2f476b 100644 --- a/config/zsh/theme.zsh +++ b/config/zsh/theme.zsh @@ -1,7 +1,9 @@ setopt prompt_subst +autoload -U colors && colors + # Theme -COL_ACCENT=13; +COL_ACCENT="#007070"; COL_DIR=$COL_ACCENT; @@ -17,7 +19,7 @@ git_changes() { git status --porcelain 2> /dev/null | wc -l; } # Prompt dir p_dir() { - segment "%2~" $COL_DIR white; + segment "%2~" $COL_DIR brightwhite; } # Prompt terminal status @@ -47,7 +49,7 @@ prompt() { p_status; p_dir; echo -n '$(p_git)'; - segment "" black 13; + segment "" black "$COL_ACCENT"; } export PROMPT="$(prompt) "; |
