Created
January 21, 2018 16:04
-
-
Save xiii/e6c116d709ba005c8a346fb8d93678f3 to your computer and use it in GitHub Desktop.
efstxago zsh theme
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
# ZSH | |
# Uncomment the PROMPT you fancy. This is mainly a prompt for users switching between python/ruby venvs/ruby versions | |
# download the file here $HOME/.oh-my-zsh/themes | |
# [p3.6/r2.3.1] infra/pewpew-infra (master*) $ | |
#PROMPT='[p$(basename $VIRTUAL_ENV)/r$RUBY_VERSION] %{$fg[green]%}%2~%{$reset_color%}$(git_prompt_info) %(!.#.$) ' | |
# p3.6|r2.3.1|/h/e/i/i/pewpew-infra|master*$ | |
#PROMPT='p$(basename $VIRTUAL_ENV)|r$RUBY_VERSION|%{$fg[green]%}$(echo "${PWD%/*}" | sed -e "s;\(/.\)[^/]*;\1;g")/${PWD##*/}%{$reset_color%}%{$fg[green]%}%{$reset_color%}$(git_prompt_info)%(!.#.$)' | |
# /h/e/i/i/marple-infra|master*$ | |
# /h/efstxago$ | |
PROMPT='%{$fg[green]%}$(echo "${PWD%/*}" | sed -e "s;\(/.\)[^/]*;\1;g")/${PWD##*/}%{$reset_color%}%{$fg[green]%}%{$reset_color%}$(git_prompt_info)%(!.#.$)' | |
ZSH_THEME_GIT_PROMPT_PREFIX="|%{$fg[yellow]%}" | |
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