diff --git a/guri.zsh-theme b/guri.zsh-theme index 973b536..d5873d0 100644 --- a/guri.zsh-theme +++ b/guri.zsh-theme @@ -14,6 +14,8 @@ get_folder_level() { ssh_prompt_info() { if [[ -n "$SSH_CONNECTION" ]]; then echo "$fg[magenta]%n@%m » " + elif [[ "$USER" == "root" ]]; then + echo "$fg[red]%n » " fi } diff --git a/ln.sh b/ln.sh new file mode 100755 index 0000000..8820533 --- /dev/null +++ b/ln.sh @@ -0,0 +1,2 @@ +rm -rf ~/.oh-my-zsh/themes/guri.zsh-theme +ln guri.zsh-theme ~/.oh-my-zsh/themes/guri.zsh-theme