summaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
authorDaniel Holman <dholman@gymli.org>2018-10-19 19:39:32 -0500
committerDaniel Holman <dholman@gymli.org>2018-10-19 19:39:32 -0500
commitb0f682a943dbbc1d6318c4e1d312215f86bba2db (patch)
tree72223cc3a0b29591fc78dd3d532ea802fbf1888f /.zshrc
parente99fe3d1f27ddd6a6cf1a19ecb004644f092ceb5 (diff)
Added powerline configs to zsh and vim
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc17
1 files changed, 10 insertions, 7 deletions
diff --git a/.zshrc b/.zshrc
index 20875ff..639fce6 100644
--- a/.zshrc
+++ b/.zshrc
@@ -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() {