diff --git a/powerline-shell-init b/powerline-shell-init index 75be4c2..1747424 100644 --- a/powerline-shell-init +++ b/powerline-shell-init @@ -1,5 +1,5 @@ function powerline_precmd() { - PS1="$(/home/truck/sturf/powerline-shell/powerline-shell.py $? --shell zsh 2> /dev/null)" + PS1="$(/home/truck/sturf/banga-powerline/powerline-shell.py $? --shell zsh 2> /dev/null)" } function install_powerline_precmd() { @@ -13,4 +13,4 @@ function install_powerline_precmd() { if [ "$TERM" != "linux" ]; then install_powerline_precmd -fi +fi \ No newline at end of file diff --git a/zshrc b/zshrc index 7da7fc7..d5cab76 100644 --- a/zshrc +++ b/zshrc @@ -9,7 +9,9 @@ SAVEHIST=2000 setopt appendhistory autocd extendedglob if [ -x /usr/bin/xset ]; then - xset -b + if [ -v DISPLAY]; then + xset -b + fi fi if [[ ${TERM} == st* ]]; then @@ -59,7 +61,7 @@ fi . ~/bin/aliases #prompt fire 125 234 084 054 020 -# powerline +# powerline #source ~/.local/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh source ~/bin/powerline-shell-init @@ -72,4 +74,4 @@ unalias cp setopt NO_SHARE_HISTORY setopt HIST_EXPIRE_DUPS_FIRST -yellow All Done! +yellow All Done! \ No newline at end of file