Chanhe prompt config if in ssh shell

master
Jonathan Hodgson 6 years ago
parent 397ad17a41
commit 932615aa20
  1. 9
      shells/zsh/oh-my-zsh/promptconfig.zsh

@ -67,8 +67,13 @@ function my_dir(){
} }
POWERLEVEL9K_CUSTOM_DIR="my_dir" POWERLEVEL9K_CUSTOM_DIR="my_dir"
POWERLEVEL9K_CUSTOM_DIR_BACKGROUND="blue" if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
POWERLEVEL9K_CUSTOM_DIR_FOREGROUND="white" POWERLEVEL9K_CUSTOM_DIR_BACKGROUND="green"
POWERLEVEL9K_CUSTOM_DIR_FOREGROUND="black"
else
POWERLEVEL9K_CUSTOM_DIR_BACKGROUND="blue"
POWERLEVEL9K_CUSTOM_DIR_FOREGROUND="white"
fi
# POWERLEVEL9K_LEFT_SEGMENT_SEPARATOR="\ue0c0" # POWERLEVEL9K_LEFT_SEGMENT_SEPARATOR="\ue0c0"
# POWERLEVEL9K_RIGHT_SEGMENT_SEPARATOR="\ue0c2" # POWERLEVEL9K_RIGHT_SEGMENT_SEPARATOR="\ue0c2"

Loading…
Cancel
Save