add: tty display.

This commit is contained in:
Yad Smood 2013-09-30 15:27:22 +08:00
commit 0216ed6313

View file

@ -35,5 +35,5 @@ PROMPT="
%{$fg[white]%}in \ %{$fg[white]%}in \
%{$terminfo[bold]$fg[yellow]%}%~%{$reset_color%}\ %{$terminfo[bold]$fg[yellow]%}%~%{$reset_color%}\
${git_info} \ ${git_info} \
%{$fg[white]%}[%*] L:%L N:%i %{$fg[white]%}[%*] tty:%l L:%L N:%i
%{$terminfo[bold]$fg[red]%}$ %{$reset_color%}" %{$terminfo[bold]$fg[red]%}$ %{$reset_color%}"