浏览代码

Add lukerandall.zsh-theme

Luke Randall 13 年之前
父节点
当前提交
a4afcfddbf
共有 1 个文件被更改,包括 10 次插入0 次删除
  1. 10 0
      themes/lukerandall.zsh-theme

+ 10 - 0
themes/lukerandall.zsh-theme

@@ -0,0 +1,10 @@
+# ZSH Theme - Preview: http://cl.ly/f701d00760f8059e06dc
+# Thanks to gallifrey, upon whose theme this is based
+
+local return_code="%(?..%{$fg_bold[red]%}%? ↵%{$reset_color%})"
+
+PROMPT='%{$fg_bold[green]%}%n@%m%{$reset_color%} %{$fg_bold[blue]%}%2~%{$reset_color%} $(git_prompt_info)%{$reset_color%}%B»%b '
+RPS1="${return_code}"
+
+ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}("
+ZSH_THEME_GIT_PROMPT_SUFFIX=") %{$reset_color%}"