Merge branch 'fixthatshit' into 'home'

shell bits that needed to be fixed.

we lost some of the things with the merge request, not sure how.

See merge request !4
This commit is contained in:
Howland Owl 2016-12-09 21:06:37 +02:00
commit aa802af016
2 changed files with 7 additions and 5 deletions

View file

@ -1,5 +1,5 @@
function powerline_precmd() { 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() { function install_powerline_precmd() {

4
zshrc
View file

@ -9,7 +9,9 @@ SAVEHIST=2000
setopt appendhistory autocd extendedglob setopt appendhistory autocd extendedglob
if [ -x /usr/bin/xset ]; then if [ -x /usr/bin/xset ]; then
xset -b if [ -v DISPLAY]; then
xset -b
fi
fi fi
if [[ ${TERM} == st* ]]; then if [[ ${TERM} == st* ]]; then