aboutsummaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorbenj <benj@rse8.com>2021-09-28 17:17:03 -0700
committerbenj <benj@rse8.com>2021-09-28 17:17:18 -0700
commit90ed4c5011d3a2fbd77bc479970d5ae0efc84136 (patch)
tree59936fbd4196f957dc6b378a477ad73bb512c76d /.bashrc
parentd5cb84a8268f3d0ead0d32830e1cad08254bd649 (diff)
downloadsetup-90ed4c5011d3a2fbd77bc479970d5ae0efc84136.tar
setup-90ed4c5011d3a2fbd77bc479970d5ae0efc84136.tar.gz
setup-90ed4c5011d3a2fbd77bc479970d5ae0efc84136.tar.bz2
setup-90ed4c5011d3a2fbd77bc479970d5ae0efc84136.tar.lz
setup-90ed4c5011d3a2fbd77bc479970d5ae0efc84136.tar.xz
setup-90ed4c5011d3a2fbd77bc479970d5ae0efc84136.tar.zst
setup-90ed4c5011d3a2fbd77bc479970d5ae0efc84136.zip
prefer bold green for idf venv status
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/.bashrc b/.bashrc
index 5481eb6..52c4dee 100644
--- a/.bashrc
+++ b/.bashrc
@@ -21,7 +21,7 @@ function show_opam_switch () {
function idf_venv() {
if [ ! -z "$IDF_PATH" ]; then
- echo "(idf-venv) "
+ echo "(idf-env) "
fi
}
@@ -40,9 +40,9 @@ if [ -n "$SSH_CLIENT" ]; then
ssh_text="ssh"
fi
if [ -z $STY ]; then
- export PS1="\[\033[1;36m\]\$(idf_venv)\[\033[0;34m\]\$(show_opam_switch)\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h\[\033[36;1m\]#$ssh_text\[\033[32m\]:\[\033[33;1m\]\W\[\033[m\]\[\033[34;1m\]\$(parse_git_branch)\[\033[m\]$ "
+ export PS1="\[\033[1;32m\]\$(idf_venv)\[\033[0;34m\]\$(show_opam_switch)\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h\[\033[36;1m\]#$ssh_text\[\033[32m\]:\[\033[33;1m\]\W\[\033[m\]\[\033[34;1m\]\$(parse_git_branch)\[\033[m\]$ "
else
- export PS1="\[\033[1;36m\]\$(idf_venv)\[\033[0;34m\]\$(show_opam_switch)\[\033[36m\]\u\[\033[m\]@\[\033[32m\]$STY\[\033[36;1m\]#$ssh_text\[\033[32m\]:\[\033[33;1m\]\W\[\033[m\]\[\033[34;1m\]\$(parse_git_branch)\[\033[m\]$ "
+ export PS1="\[\033[1;32m\]\$(idf_venv)\[\033[0;34m\]\$(show_opam_switch)\[\033[36m\]\u\[\033[m\]@\[\033[32m\]$STY\[\033[36;1m\]#$ssh_text\[\033[32m\]:\[\033[33;1m\]\W\[\033[m\]\[\033[34;1m\]\$(parse_git_branch)\[\033[m\]$ "
fi
# Alias