conditional for xset so we don't try to run on a server/without xset
This commit is contained in:
parent
8be6e3ef06
commit
401bec6b93
1 changed files with 11 additions and 5 deletions
16
zshrc
16
zshrc
|
|
@ -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
|
||||
xset -b
|
||||
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue