conditional for xset so we don't try to run on a server/without xset

This commit is contained in:
Howland Owl 2016-10-23 13:47:14 +03:00
parent 8be6e3ef06
commit 401bec6b93

14
zshrc
View file

@ -1,19 +1,23 @@
echo "Loading zgen..."
source ~/bin/zgen/zgen.zsh
source ~/bin/fixcolors
HIST_STAMPS="yyyy-mm-dd"
HISTFILE=~/.histfile
HISTSIZE=2000
SAVEHIST=2000
setopt appendhistory autocd extendedglob
if [ -x /usr/bin/xset ]; then
xset -b
fi
unsetopt beep
bindkey -e
export LESS="-X -R -F"
alias http='python -m http.server'
export PATH=$HOME/bin:/usr/local/bin:$PATH
alias t=todo.sh
export EDITOR=mg
autoload insert-composed-char
@ -50,8 +54,10 @@ fi
prompt fire 125 234 084 054 020
# powerline (arch location)
#. /usr/share/zsh/site-contrib/powerline.zsh
# powerline
#source ~/.local/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh
alias t=todo.sh
unalias rm
unalias mv