diff options
| -rw-r--r-- | home/.zshrc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/home/.zshrc b/home/.zshrc index e5dd18a..e2dc621 100644 --- a/home/.zshrc +++ b/home/.zshrc @@ -2,7 +2,7 @@ # export PATH=$HOME/bin:/usr/local/bin:$PATH # Path to your oh-my-zsh installation. -export ZSH=${HOME}/.oh-my-zsh +export ZSH="${HOME}/.oh-my-zsh" # Set name of the theme to load. Optionally, if you set this to "random" # it'll load a random theme each time that oh-my-zsh is loaded. @@ -67,6 +67,10 @@ plugins=( [ -d $ZSH ] && source $ZSH/oh-my-zsh.sh +# Imported Theme +if [ "$USER" = "root" ]; then CARETCOLOR="red"; else CARETCOLOR="blue"; fi +PROMPT='%{$fg[green]%}[%D{%T}]%{$reset_color%} %{$fg_no_bold[cyan]%}%n %{${fg_bold[blue]}%}::%{$reset_color%} %{$fg[yellow]%}%m%{$reset_color%} %{$fg_no_bold[magenta]%} ➜ %{$reset_color%} %{${fg[green]}%}%3~ $(git_prompt_info)%{${fg_bold[$CARETCOLOR]}%}»%{${reset_color}%} ' + # User configuration # export MANPATH="/usr/local/man:$MANPATH" |
