diff options
Diffstat (limited to '12_Prompts.zsh')
-rw-r--r-- | 12_Prompts.zsh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/12_Prompts.zsh b/12_Prompts.zsh index 2b2255a..5d76806 100644 --- a/12_Prompts.zsh +++ b/12_Prompts.zsh @@ -282,6 +282,13 @@ __show_date() echo $(tput cub $COLUMNS ; tput cuf $(($COLUMNS - $DATESIZE)))$DATE } + +__display_vi_mode() +{ + echo -n "$C_$color[bold];$color[yellow]$_C%8v" +} +PS1_TASKBAR+=(__display_vi_mode) + __two_lines_prompt () { ## Le prompt le plus magnifique du monde, et c'est le mien ! |