Add custom zsh theme
This commit is contained in:
parent
b97fc3ef72
commit
6e3070ce19
|
@ -9,6 +9,7 @@
|
||||||
!.bash_profile
|
!.bash_profile
|
||||||
|
|
||||||
!.zshrc
|
!.zshrc
|
||||||
|
!shadowfacts.zsh-theme
|
||||||
|
|
||||||
!.hammerspoon/*
|
!.hammerspoon/*
|
||||||
.hammerspoon/.DS_STORE
|
.hammerspoon/.DS_STORE
|
||||||
|
|
2
.zshrc
2
.zshrc
|
@ -1,6 +1,6 @@
|
||||||
export ZSH=/Users/shadowfacts/.oh-my-zsh
|
export ZSH=/Users/shadowfacts/.oh-my-zsh
|
||||||
|
|
||||||
ZSH_THEME="honukai"
|
ZSH_THEME="shadowfacts"
|
||||||
|
|
||||||
plugins=(osx git)
|
plugins=(osx git)
|
||||||
|
|
||||||
|
|
|
@ -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%}"
|
Loading…
Reference in New Issue