惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
S
Secure Thoughts
T
Tailwind CSS Blog
博客园 - 三生石上(FineUI控件)
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Hacker News - Newest:
Hacker News - Newest: "LLM"
T
Troy Hunt's Blog
阮一峰的网络日志
阮一峰的网络日志
博客园 - 叶小钗
博客园 - 司徒正美
NISL@THU
NISL@THU
小众软件
小众软件
宝玉的分享
宝玉的分享
Hugging Face - Blog
Hugging Face - Blog
T
Threat Research - Cisco Blogs
Hacker News: Ask HN
Hacker News: Ask HN
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
博客园_首页
罗磊的独立博客
S
Securelist
N
News | PayPal Newsroom
大猫的无限游戏
大猫的无限游戏
T
Tenable Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
Visual Studio Blog
爱范儿
爱范儿
Spread Privacy
Spread Privacy
V2EX - 技术
V2EX - 技术
J
Java Code Geeks
V
V2EX
人人都是产品经理
人人都是产品经理
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
The Last Watchdog
The Last Watchdog
I
Intezer
腾讯CDC
P
Privacy & Cybersecurity Law Blog
SecWiki News
SecWiki News
Google DeepMind News
Google DeepMind News
P
Palo Alto Networks Blog
Cloudbric
Cloudbric
Apple Machine Learning Research
Apple Machine Learning Research
N
News and Events Feed by Topic
Latest news
Latest news
L
LINUX DO - 最新话题
Recent Commits to openclaw:main
Recent Commits to openclaw:main
博客园 - 【当耐特】
Last Week in AI
Last Week in AI
The Cloudflare Blog

Z shell

iTerm2 有什么鲜为人知使用技巧? - V2EX 在 shell (zsh) 中键入命令时会重复第一个字符的 bug - V2EX Windows/MSYS2 下 zsh 用什么插件库速度最快? - V2EX 在 zsh 里将一个文本的各行展开为 N 个命令行参数 - V2EX 好早以前设置了 bash/zsh 终端自动联想/补全命令 的功能,忘了是什么软件了?怎么关闭 - V2EX shell 下有没有办法解决人追加命令的需求 - V2EX 大佬指点下 Linux 文件修改替换原文件的方法 - V2EX 请教一下会 shell 处理 JSON 脚本的大佬 - V2EX ys or agnoster? - V2EX [shell] 关于通配符的两点疑问 - V2EX 有没有对 git status 支持比较好对 zsh 主题 - V2EX 大佬们的 zsh 都装了哪些插件和主题啊,影响终端的启动速度这点使人不爽不知道肿么破? - V2EX 做了一款算是小清新的 zsh 主题 jovial,有人要晒终端么~ - V2EX osx 下 zsh 速度越来越慢,有么有同学遇到跟我一样的问题? - V2EX 有人在 windows 上装了 oh my zsh 吗 - V2EX 请问 zsh 下这种效果是如何实现的? - V2EX 分享一个 zsh 下一键添加 proxychains4 命令前缀的插件 - V2EX 那些我希望在一开始使用 Zsh(oh-my-zsh) 时就知道的 - V2EX [zsh] zshell 很卡啊,有么有同志点播一下 - V2EX ZSH 命令行工具如何检查升级? - V2EX 配置了下 zsh - V2EX oh-my-zsh启动速度很慢 - V2EX
求推荐一款 zsh 主题~ - V2EX
xatest · 2014-02-26 · via Z shell

ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[blue]%}(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%})%{$fg[yellow]%} %{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})%{$fg[green]%} ✔ %{$reset_color%}"

ZSH_THEME_GIT_PROMPT_ADDED="%{$FG[082]%}✚%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_MODIFIED="%{$FG[166]%}✹%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_DELETED="%{$FG[160]%}✖%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_RENAMED="%{$FG[220]%}➜%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_UNMERGED="%{$FG[082]%}═%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$FG[190]%}✭%{$reset_color%} "

function prompt_char {
if [ $UID -eq 0 ]; then echo "%{$fg[red]%}#%{$reset_color%}"; else echo $; fi
}

PROMPT='%(?, ,%{$fg[red]%}FAIL%{$reset_color%}
)
%{$fg[magenta]%}%n%{$reset_color%}@%{$fg[yellow]%}%m%{$reset_color%}: %{$fg_bold[blue]%}%~%{$reset_color%}$(git_prompt_info)$(git_prompt_status)
%_ $(prompt_char) '

RPROMPT='%{$fg[green]%}[%W %*]%{$reset_color%}'