summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorDavid Kaufmann <astra@ionic.at>2018-09-10 15:04:10 +0200
committerDavid Kaufmann <astra@ionic.at>2018-09-10 15:04:10 +0200
commit2eb734c9121ca8f6b5994c320e24e42f27753213 (patch)
treeb933699167f125d8672159cb5bb6d98a8d1d547e /home
parent709ed9b8cf11dbf28672f81d63b77729368fe4d4 (diff)
downloadconfig-2eb734c9121ca8f6b5994c320e24e42f27753213.tar.gz
zsh minor changes
Diffstat (limited to 'home')
-rw-r--r--home/.zshrc6
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"