Skip to content

Commit

Permalink
[master] Adding ln.sh (for development purposes) + showing user if root
Browse files Browse the repository at this point in the history
  • Loading branch information
victorfsf committed Nov 14, 2017
1 parent 7c6bab6 commit 1f9768e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions guri.zsh-theme
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
2 changes: 2 additions & 0 deletions ln.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
rm -rf ~/.oh-my-zsh/themes/guri.zsh-theme
ln guri.zsh-theme ~/.oh-my-zsh/themes/guri.zsh-theme

0 comments on commit 1f9768e

Please sign in to comment.