Removes time from right prompt

master
Jonathan Hodgson 6 years ago
parent 3064491345
commit fb6d100ed9
  1. 5
      shells/zsh/oh-my-zsh/promptconfig.zsh

@ -50,7 +50,6 @@ function my_dir(){
# Replace Dropbox with icon
current_path=$(echo $current_path | sed -r -e "s/$homeIcon\/Dropbox/$dropboxIcon/")
# Set the root
current_path=$(echo $current_path | sed -r -e "s/^\//$root/g")
@ -88,8 +87,8 @@ POWERLEVEL9K_CUSTOM_CAPS_FOREGROUND="white"
# Left Prompt
if [[ "$(basename "/"$(ps -f -p $(cat /proc/$(echo $$)/stat | cut -d \ -f 4) | tail -1 | sed 's/^.* //'))" != "$(echo $USER)" ]]; then
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(custom_dir rbenv vcs custom_caps)
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(custom_dir vcs custom_caps)
fi
# Right Prompt
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status root_indicator time)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status root_indicator)

Loading…
Cancel
Save