Last active
July 17, 2021 16:03
-
-
Save TylerTemp/054b7b55aec723b104076a1c6d816f49 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# modified from https://github.com/ohmyzsh/ohmyzsh/blob/master/themes/maran.zsh-theme | |
# add root color changing | |
# usage: curl https://gist.githubusercontent.com/TylerTemp/054b7b55aec723b104076a1c6d816f49/raw/5dcfba1e204a3d6766f6cdeb08e7fe4bd4847ba9/smaran.zsh-theme > ~/.oh-my-zsh/themes/smaran.zsh-theme | |
# then change your theme to smaran | |
######################################## | |
# Theme with full path names and hostname | |
# Handy if you work on different servers all the time; | |
PROMPT='%{%(#~$fg[red]~$fg[cyan])%}%n%{$reset_color%}@%{$fg[yellow]%}%M:%{%(#~$fg[red]~$fg[green])%}%/%{$reset_color%}$(git_prompt_info) %(!.#.$) ' | |
ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[cyan]%}git:(" | |
ZSH_THEME_GIT_PROMPT_SUFFIX=")%{$reset_color%}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment