From 534b20ffe06a2b6c7601846cb552744e667dbe67 Mon Sep 17 00:00:00 2001 From: surtur Date: Thu, 12 Dec 2019 17:14:44 +0100 Subject: [PATCH] zshrc: minor visual changes to spaceship-prompt * spaceship: add newline and display prompt on a separate line * spaceship: show battery only when below 30% --- zsh/zshrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/zsh/zshrc b/zsh/zshrc index 0e81d0c..b6711d6 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -8,11 +8,12 @@ source ~/.zplug/repos/zsh-users/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ZSH_THEME="spaceship" - SPACESHIP_PROMPT_ADD_NEWLINE=false - SPACESHIP_PROMPT_SEPARATE_LINE=false + SPACESHIP_PROMPT_ADD_NEWLINE=true + SPACESHIP_PROMPT_SEPARATE_LINE=true SPACESHIP_TIME_SHOW=true SPACESHIP_TIME_COLOR=white + SPACESHIP_DIR_PREFIX= SPACESHIP_DIR_COLOR=blue SPACESHIP_DIR_TRUNC=1 SPACESHIP_DIR_TRUNC_REPO=false @@ -23,7 +24,7 @@ SPACESHIP_GIT_STATUS_COLOR=yellow SPACESHIP_EXEC_TIME_ELAPSED=300 SPACESHIP_BATTERY_SHOW=true - SPACESHIP_BATTERY_THRESHOLD=100 + SPACESHIP_BATTERY_THRESHOLD=35 SPACESHIP_CHAR_SYMBOL=%% SPACESHIP_CHAR_COLOR_SUCCESS=white SPACESHIP_CHAR_SUFFIX=" "