From 1d7c6801270f8277c2b7e8c6dec481f50bd11bb9 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Fri, 28 Jun 2019 23:56:43 +0200 Subject: [PATCH] custom zsh theme folder --- .gitignore | 6 ++---- .zsh-themes/robbyrussel+hostname.zsh-theme | 7 +++++++ 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 .zsh-themes/robbyrussel+hostname.zsh-theme diff --git a/.gitignore b/.gitignore index aa32416..c7c2f74 100644 --- a/.gitignore +++ b/.gitignore @@ -1,11 +1,9 @@ -* -*/ -!.gitignore +/* !.bashrc !.bash_profile !.vimrc !.zshrc -!.zsh-themes +!/.zsh-themes !.aliases !.ssh !.hyper.js diff --git a/.zsh-themes/robbyrussel+hostname.zsh-theme b/.zsh-themes/robbyrussel+hostname.zsh-theme new file mode 100644 index 0000000..fbe3f82 --- /dev/null +++ b/.zsh-themes/robbyrussel+hostname.zsh-theme @@ -0,0 +1,7 @@ +local ret_status="%(?:%{$fg_bold[green]%}%M ➜ :%{$fg_bold[red]%}%M ➜ )" +PROMPT='${ret_status} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)' + +ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}" +ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " +ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗" +ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"