mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
Compare commits
No commits in common. "60f8ca378893a5e2d19126f948fef152d64fd7dd" and "57f0e01b511f459a43f792723c8948f0746b5165" have entirely different histories.
60f8ca3788
...
57f0e01b51
2 changed files with 2 additions and 6 deletions
|
@ -1 +0,0 @@
|
|||
setlocal matchpairs-=<:>
|
|
@ -1,5 +1,7 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
export VIRTUAL_ENV_DISABLE_PROMPT=false
|
||||
|
||||
# Escapes `%` in all arguments by replacing it with `%%`. Escaping is needed so
|
||||
# that untrusted input (e.g. git branch names) doesn't affect prompt rendering.
|
||||
prompt_escape() {
|
||||
|
@ -100,11 +102,6 @@ PROMPT+='$(prompt_vcs_info 2>/dev/null)'
|
|||
|
||||
# Python's virtualenv
|
||||
PROMPT+='${VIRTUAL_ENV:+" %F{blue}venv:%F{magenta}${VIRTUAL_ENV:t}%f"}'
|
||||
VIRTUAL_ENV_DISABLE_PROMPT=true
|
||||
|
||||
# pyenv
|
||||
PROMPT+='${PYENV_VERSION:+" %F{blue}pyenv:%F{magenta}${PYENV_VERSION:t}%f"}'
|
||||
PYENV_VIRTUAL_ENV_DISABLE_PROMPT=true
|
||||
|
||||
PROMPT+=' '
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue