diff options
author | Daniel Holman <dholman@gymli.org> | 2018-10-19 19:39:32 -0500 |
---|---|---|
committer | Daniel Holman <dholman@gymli.org> | 2018-10-19 19:39:32 -0500 |
commit | b0f682a943dbbc1d6318c4e1d312215f86bba2db (patch) | |
tree | 72223cc3a0b29591fc78dd3d532ea802fbf1888f /.zshrc | |
parent | e99fe3d1f27ddd6a6cf1a19ecb004644f092ceb5 (diff) |
Added powerline configs to zsh and vim
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 17 |
1 files changed, 10 insertions, 7 deletions
@@ -36,16 +36,19 @@ alias pacin="sudo pacman -S" alias pacr="sudo pacman -Rns" alias pacup="sudo pacman -Syu;checkpkg" alias cower="cower --color=auto" -alias msfconsole="sudo msfconsole --quiet -x \"db_connect root@msf\"" alias irssi="torsocks irssi" +# Powerline +if [ $(pgrep -c powerline) -eq 0 ]; then + powerline-daemon -q +fi + # Prompt settings -local return_code="%(?..%{$fg[red]%}%? ${exclaim}%{$reset_color%})" -setopt PROMPT_SUBST -GIT_PS1_SHOWUPSTREAM=auto -GIT_PS1_SHOWDIRTYSTATE=1 -GIT_PS1_SHOWUNTRACKEDFILES=1 -PS1='${return_code}$(__git_ps1 "(%s)")$ ' +#setopt PROMPT_SUBST +#GIT_PS1_SHOWUPSTREAM=auto +#GIT_PS1_SHOWDIRTYSTATE=1 +#GIT_PS1_SHOWUNTRACKEDFILES=1 +#PS1='$(__git_ps1 "(%s)")$ ' # Make shell stuff behave nicely pacsearch() { |