
1 archean 2019 年 3 月 27 日 |
2 goodryb 2019 年 3 月 27 日 %{$fg_bold[green]%}[%D{%H:%M:%S}]%{$fg_bold[magenta]%}%m@%{$fg_bold[green]%}%n:%{$fg[cyan]%}%/ %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%}% %{$reset_color%} 用的 oh my zsh,效果还可以 |
3 pkookp8 2019 年 3 月 27 日 via Android 自用的 PS1="[\W]$ " 太长受不了 |
4 xiaket 2019 年 3 月 27 日 为了实现自己想要的效果还专门用 golang 写了一个程序什么的, 这儿是当时写下的 blog: https://blog.xiaket.org/2018/bash-prompt-in-golang.html 希望这个 asciinema 链接能工作: https://asciinema.org/a/g03MQikLqBg8UcHBCd5yPFJB3 要求是在 50 毫秒内能够尽量多给出有用信息. |