X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/ec48932ff896ba580d9d9039d990a7cbd05eb549..30519082f71d5e2739c7dfb5b884338214ecba90:/zsh/modules/prompt.zsh diff --git a/zsh/modules/prompt.zsh b/zsh/modules/prompt.zsh index b21a41f..482bfc7 100644 --- a/zsh/modules/prompt.zsh +++ b/zsh/modules/prompt.zsh @@ -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