diff options
| author | David Kaufmann <astra@ionic.at> | 2018-09-10 15:04:10 +0200 |
|---|---|---|
| committer | David Kaufmann <astra@ionic.at> | 2018-09-10 15:04:10 +0200 |
| commit | 2eb734c9121ca8f6b5994c320e24e42f27753213 (patch) | |
| tree | b933699167f125d8672159cb5bb6d98a8d1d547e | |
| parent | 709ed9b8cf11dbf28672f81d63b77729368fe4d4 (diff) | |
| download | config-2eb734c9121ca8f6b5994c320e24e42f27753213.tar.gz | |
zsh minor changes
| -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" |
