Last active
June 22, 2024 21:44
-
-
Save mertbozkir/9ff1b93ac6792b068c75f0635be9290e to your computer and use it in GitHub Desktop.
Updated Cypher theme with virtualenv
This file contains 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
# Based on evan's prompt | |
# Shows the exit status of the last command if non-zero | |
# Uses "#" instead of "»" when running with elevated privileges | |
# local venv_prompt='$(virtualenv_prompt_info)' | |
# PROMPT='%{${fg_bold[blue]}%}$(virtualenv_prompt_info)' | |
PROMPT="%m %{${fg_bold[red]}%}::%{${fg[green]}%} %3~%{${reset_color}%} $(virtualenv_prompt_info)%(0?. . ${fg[red]}%? )%{${fg[blue]}%}» " | |
# PROMPT="%{${fg_bold[white]}%} %m %{${fg_bold[red]}%}:: %{${fg[green]}%}%3~%(0?. . %{${fg[red]}%}%? )%{${fg[blue]}%}$(virtualenv_prompt_info)» %{${reset_color}%}" | |
ZSH_THEME_VIRTUALENV_PREFIX="" | |
ZSH_THEME_VIRTUALENV_SUFFIX="" |
Author
mertbozkir
commented
Jun 22, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment