From fb6d100ed9efdb44fd3a788aa8c89ae1c7fb823a Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Sat, 7 Jul 2018 13:43:13 +0100 Subject: [PATCH] Removes time from right prompt --- shells/zsh/oh-my-zsh/promptconfig.zsh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/shells/zsh/oh-my-zsh/promptconfig.zsh b/shells/zsh/oh-my-zsh/promptconfig.zsh index 6a631734..3b688161 100644 --- a/shells/zsh/oh-my-zsh/promptconfig.zsh +++ b/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)