Skip to content

Commit

Permalink
Update themes.
Browse files Browse the repository at this point in the history
  • Loading branch information
seagle0128 committed Jan 28, 2019
1 parent 5fa07fa commit c789645
Showing 1 changed file with 24 additions and 23 deletions.
47 changes: 24 additions & 23 deletions .zshrc.local
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,30 @@ if [ -n "$INSIDE_EMACS" ]; then
DISABLE_AUTO_TITLE="true"
# antigen theme ys # ys, dst, steeef, wedisagree, robbyrussell
else
# antigen theme steeef # ys, dst, steeef, wedisagree, robbyrussell
# antigen theme danihodovic/steeef
# antigen theme seagle0128/bullet-train.zsh
# antigen theme simnalamburt/shellder
# antigen theme denysdovhan/spaceship-prompt spaceship

# # go get -u github.com/justjanne/powerline-go
# if command powerline-go >/dev/null 2>&1 && [ "$TERM" != "linux" ]; then
# # Powerful theme (require powerline fonts)
# function powerline_precmd() {
# PS1="$(powerline-go -error $? -shell zsh)"
# }

# function install_powerline_precmd() {
# for s in "${precmd_functions[@]}"; do
# if [ "$s" = "powerline_precmd" ]; then
# return
# fi
# done
# precmd_functions+=(powerline_precmd)
# }
# install_powerline_precmd
# fi
# antigen theme steeef # ys, dst, steeef, wedisagree, robbyrussell
# antigen theme danihodovic/steeef
# antigen theme seagle0128/bullet-train.zsh
# antigen theme simnalamburt/shellder
# antigen theme denysdovhan/spaceship-prompt spaceship

# Powerful theme (require powerline fonts)
# go get -u github.com/justjanne/powerline-go
function powerline_precmd() {
PS1="$($GOPATH/bin/powerline-go -error $? -shell zsh)"
}

function install_powerline_precmd() {
for s in "${precmd_functions[@]}"; do
if [ "$s" = "powerline_precmd" ]; then
return
fi
done
precmd_functions+=(powerline_precmd)
}

if [ "$TERM" != "linux" ] && [ -f "$GOPATH/bin/powerline-go" ]; then
install_powerline_precmd
fi
fi

# Env
Expand Down

0 comments on commit c789645

Please sign in to comment.