]> git.r.bdr.sh - rbdr/dotfiles/blobdiff - zsh/modules/prompt.zsh
Add Z config
[rbdr/dotfiles] / zsh / modules / prompt.zsh
index b21a41f8c963c620dcea4a3c4f20760071947401..482bfc780ceba396f66281251455f24b9ff07f5f 100644 (file)
@@ -22,7 +22,7 @@ function virtualenv_info {
   else
     venv="${VIRTUAL_ENV##*/}"
   fi
-  echo "🐍 ${venv}"
+  echo "%{%F{green}%}py%{%F{black}%} ${venv}"
 }
 
 function rvm_info {
@@ -31,7 +31,7 @@ function rvm_info {
   else
     rvminfo=`rvm-prompt`
   fi
-  echo "💎 ${rvminfo}"
+  echo "%{%F{red}%}rb%{%F{black}%} ${rvminfo}"
 }
 
 function nvm_info {
@@ -40,7 +40,7 @@ function nvm_info {
   else
     nvminfo=`nvm current`
   fi
-  echo "💛 ${nvminfo}"
+  echo "%{%F{yellow}%}js%{%F{black}%} ${nvminfo}"
 }
 
 function box_name {
@@ -56,13 +56,9 @@ function zle-line-init zle-keymap-select {
     # Couldn't figure out how to get tmux and iTerm to agree on how to render
     # these characters... so there you go.
 
-    local normal_symbol="🅽"
-    local insert_symbol="🅸"
-    local error_symbol="🆇"
-
-    [ ! -z "$TMUX" ] && normal_symbol="%{$normal_symbol%2G%}"
-    [ ! -z "$TMUX" ] && insert_symbol="%{$insert_symbol%2G%}"
-    [ ! -z "$TMUX" ] && error_symbol="%{$error_symbol%2G%}"
+    local normal_symbol="N"
+    local insert_symbol="I"
+    local error_symbol="X"
 
     # Show vi status / return status on the right side