Revert "Merge branch 'home' into 'fixthatshit'"

This reverts commit 1639a576f4, reversing
changes made to cc75e76c65.
This commit is contained in:
Howland Owl 2016-12-09 21:22:01 +02:00
parent 2434c12586
commit a92c39c710
10 changed files with 147 additions and 90 deletions

65
zshrc-omz Normal file
View file

@ -0,0 +1,65 @@
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
unsetopt beep
bindkey -e
export LESS="-X -R -F"
alias http='python -m http.server'
alias t=todo.sh
export EDITOR=mg
export PATH=$HOME/bin:/usr/local/bin:$PATH
autoload insert-composed-char
zle -N insert-composed-char
# bind it to some key (Ctrl+x in this example)
bindkey  insert-composed-char
if ! zgen saved; then
echo "creating zgen save..."
zgen oh-my-zsh
zgen oh-my-zsh plugins/sudo
zgen oh-my-zsh plugins/tmux
zgen oh-my-zsh plugins/themes
zgen oh-my-zsh plugins/rsync
# zgen oh-my-zsh plugins/archlinux
zgen oh-my-zsh plugins/git
zgen oh-my-zsh plugins/mosh
zgen oh-my-zsh plugins/vagrant
zgen oh-my-zsh plugins/virtualenv
zgen oh-my-zsh plugins/history
zgen oh-my-zsh plugins/pip
zgen oh-my-zsh plugins/python
zgen oh-my-zsh plugins/systemd
zgen load zsh-users/zsh-syntax-highlighting
zgen load Tarrasch/zsh-bd
zgen load Tarrasch/zsh-colors
zgen load supercrabtree/k
# zgen load jplitza/zsh-virsh-autocomplete
zgen load truck/zsh-virsh-autocomplete
# zgen load caiogondim/bullet-train-oh-my-zsh-theme bullet-train
zgen save
fi
unsetopt share_history
setopt NO_SHARE_HISTORY
setopt HIST_EXPIRE_DUPS_FIRST
#. ~/bin/bullettrain
#. ~/bin/aliases
theme linuxonly
yellow All Done!