Created
August 31, 2015 08:29
-
-
Save qinshulei/d5e346bd970e1fe226db to your computer and use it in GitHub Desktop.
show history no in zsh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Prompt format: \n # HISTORY_NMUBER USER at MACHINE in DIRECTORY on git:BRANCH STATE [TIME] \n $ | |
| PROMPT=" | |
| %{$terminfo[bold]$fg[blue]%}#%{$reset_color%} \ | |
| %{$fg[red]%}%h%{$reset_color%} \ | |
| %{$fg[cyan]%}%n \ | |
| %{$fg[white]%}at \ | |
| %{$fg[green]%}$(box_name) \ | |
| %{$fg[white]%}in \ | |
| %{$terminfo[bold]$fg[yellow]%}${current_dir}%{$reset_color%}\ | |
| ${hg_info}\ | |
| ${git_info} \ | |
| %{$fg[white]%}[%*] | |
| %{$terminfo[bold]$fg[red]%}$ %{$reset_color%}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment