zshrc.d/20-prompt.zrc
changeset 13 e1da4a7a9e92
parent 11 ee97df34536f
child 15 5f43e2cd8ebe
equal deleted inserted replaced
12:a906009be2b1 13:e1da4a7a9e92
     2 # You can use fast_hg_root from https://bitbucket.org/yaniv_aknin/fast_hg_root
     2 # You can use fast_hg_root from https://bitbucket.org/yaniv_aknin/fast_hg_root
     3 # or maybe use the command false if you don't use Mercurial at all.
     3 # or maybe use the command false if you don't use Mercurial at all.
     4 # (Override in $ZDOTLOCALDIR/zshrc)
     4 # (Override in $ZDOTLOCALDIR/zshrc)
     5 HG_ROOT_CMD=("hg" "root")
     5 HG_ROOT_CMD=("hg" "root")
     6 export HG_ROOT_CMD
     6 export HG_ROOT_CMD
       
     7 
       
     8 
       
     9 # Enable my Vim-like mode for supported terms
       
    10 if [[ "$TERM" == "rxvt" ||
       
    11       "$TERM" == "rxvt-256color" ||
       
    12       "$TERM" == "rxvt-unicode" ||
       
    13       "$TERM" == "rxvt-unicode-256color" ]]
       
    14 then
       
    15     export SHOWMODE="on"
       
    16 fi
     7 
    17 
     8 
    18 
     9 ### Extended prompts
    19 ### Extended prompts
    10 
    20 
    11 function __prompt_path_color {
    21 function __prompt_path_color {