zshrc: minor visual changes to spaceship-prompt

* spaceship: add newline and display prompt on a separate line
* spaceship: show battery only when below 30%
This commit is contained in:
surtur 2019-12-12 17:14:44 +01:00
parent 2743610195
commit 534b20ffe0
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -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=" "