-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathberquist.zsh-theme
25 lines (20 loc) · 1015 Bytes
/
berquist.zsh-theme
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# -*- mode: shell-script -*-
# kautoload -U colors && colors
# function virtualenv_prompt_info() {
# if [[ -n "${VIRTUAL_ENV}" ]]; then
# name=$(basename "${VIRTUAL_ENV}")
# pythonver=$($(command -v python) -c 'import sys; print(sys.version)' | head -n 1 | cut -f 1 -d ' ')
# print " %{$fg_bold[white]%}\(venv: %{$fg[green]%}$name%{$fg_bold[white]%} ${pythonver}\)%{$reset_color%}"
# fi
# }
# function conda_prompt_info() {
# if [[ -n "${CONDA_PREFIX}" ]]; then
# name="${CONDA_DEFAULT_ENV}"
# pythonver=$($(command -v python) -c 'import sys; print(sys.version)' | head -n 1 | cut -f 1 -d ' ')
# print " %{$fg_bold[white]%}\(conda: %{$fg[green]%}$name%{$fg_bold[white]%} ${pythonver}\)%{$reset_color%}"
# fi
# }
# PS1='%{$fg[yellow]%}%d%{$reset_color%}$(virtualenv_prompt_info)$(conda_prompt_info)
# [%{$fg[blue]%}%n%{$reset_color%}@%{$fg[cyan]%}$(hostname -s)%{$reset_color%}]%(!.#.$) '
PS1="%F{yellow}%d%f
[%F{blue}%n%f@%F{cyan}%m%f]%(!.#.$) "