mirror of
https://github.com/Cornelicorn/bullet-train.zsh.git
synced 2025-12-06 11:50:38 +01:00
@@ -123,6 +123,12 @@ prompt_dir() {
|
|||||||
prompt_segment blue white '%1~'
|
prompt_segment blue white '%1~'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
prompt_rvm() {
|
||||||
|
if which rvm-prompt &> /dev/null; then
|
||||||
|
prompt_segment magenta white "♦️ `rvm-prompt i v g`"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
# Virtualenv: current working virtualenv
|
# Virtualenv: current working virtualenv
|
||||||
prompt_virtualenv() {
|
prompt_virtualenv() {
|
||||||
local virtualenv_path="$VIRTUAL_ENV"
|
local virtualenv_path="$VIRTUAL_ENV"
|
||||||
@@ -154,6 +160,7 @@ build_prompt() {
|
|||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
prompt_status
|
prompt_status
|
||||||
prompt_time
|
prompt_time
|
||||||
|
prompt_rvm
|
||||||
prompt_virtualenv
|
prompt_virtualenv
|
||||||
# prompt_context
|
# prompt_context
|
||||||
prompt_dir
|
prompt_dir
|
||||||
|
|||||||
Reference in New Issue
Block a user