Skip to content

Instantly share code, notes, and snippets.

@fbchow
fbchow / .zshrc
Created October 6, 2019 16:43
.zshrc file config
function powerline_precmd() {
PS1="$(powerline-shell --shell zsh $?)"
}
function install_powerline_precmd() {
for s in "${precmd_functions[@]}"; do
if [ "$s" = "powerline_precmd" ]; then
return
fi
done