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