mahbinstuff/zshrc
2015-01-08 11:56:27 +02:00

53 lines
1.2 KiB
Bash
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

echo "Loading zgen..."
source bin/zgen/zgen.zsh
source ~/bin/fixcolors
HIST_STAMPS="yyyy-mm-dd"
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt appendhistory autocd extendedglob
xset -b
unsetopt beep
bindkey -e
export LESS="-X -R -F"
alias stp="st -f 'TopazPlus a500a1000a2000-14'"
alias http='python -m http.server'
export PATH=$HOME/bin:/usr/local/bin:$PATH
alias truckedit=subl
export EDITOR=mg
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/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 caiogondim/bullet-train-oh-my-zsh-theme bullet-train
zgen save
fi
source ~/bin/bullettrain
unsetopt share_history
yellow All Done!