diff --git a/powerline-shell-init b/powerline-shell-init index 3f09359..c740ea5 100644 --- a/powerline-shell-init +++ b/powerline-shell-init @@ -1,5 +1,5 @@ function powerline_precmd() { - PS1="$(/home/truck/stuff/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() { diff --git a/zshrc b/zshrc index 71befc6..1d3650f 100644 --- a/zshrc +++ b/zshrc @@ -7,7 +7,19 @@ HISTFILE=~/.histfile HISTSIZE=2000 SAVEHIST=2000 setopt appendhistory autocd extendedglob -xset -b + +if [ -x /usr/bin/xset ]; then + if [ -v DISPLAY]; then + xset -b + fi +fi + +if [[ ${TERM} == st* ]]; then + if [ ! -e /usr/share/terminfo/s/st-256color ]; then + export TERM=xterm-256color + fi +fi + unsetopt beep bindkey -e export LESS="-X -R -F" @@ -48,10 +60,10 @@ fi . ~/bin/aliases -prompt fire 125 234 084 054 020 - -# powerline (arch location) -#. /usr/share/zsh/site-contrib/powerline.zsh +#prompt fire 125 234 084 054 020 +# powerline +#source ~/.local/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh +source ~/bin/powerline-shell-init unalias rm unalias mv