diff --git a/.gitignore b/.gitignore index e5d9ba4..a39c74d 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ !.bash_profile !.zshrc +!shadowfacts.zsh-theme !.hammerspoon/* .hammerspoon/.DS_STORE diff --git a/.zshrc b/.zshrc index f14865e..2184be1 100644 --- a/.zshrc +++ b/.zshrc @@ -1,6 +1,6 @@ export ZSH=/Users/shadowfacts/.oh-my-zsh -ZSH_THEME="honukai" +ZSH_THEME="shadowfacts" plugins=(osx git) diff --git a/shadowfacts.zsh-theme b/shadowfacts.zsh-theme new file mode 100644 index 0000000..029907f --- /dev/null +++ b/shadowfacts.zsh-theme @@ -0,0 +1,19 @@ +local current_dir='${PWD/#$HOME/~}' + +ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[white]%}on%{$reset_color%} git:%{$fg[cyan]%}" +ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" +ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}â–ïŽ" +ZSH_THEME_GIT_PROMPT_CLEAN=" %{$fg[green]%}â" + +local git_info='$(git_prompt_info)' + +# # USER in DIRECTORY on git:BRANCH STATE [TIME] +# ⒠+PROMPT=" +%{$terminfo[bold]$fg[blue]%}#%{$reset_color%} \ +%{$fg[cyan]%}%n \ +%{$fg[white]%}in \ +%{$terminfo[bold]$fg[yellow]%}${current_dir}%{$reset_color%}\ +${git_info} \ +%{$fg[white]%}[%D{%r}] +%{$terminfo[bold]$fg[red]%}⒠%{$reset_color%}"