2017-12-05 22:12:38 +01:00
|
|
|
export ZSH=/home/bascht/.oh-my-zsh
|
|
|
|
|
2018-02-14 11:19:39 +01:00
|
|
|
# Back out if we're surrounded by Emacs
|
|
|
|
[ "$TERM" = "eterm-color" ] && exec bash
|
|
|
|
|
2018-04-12 09:44:52 +02:00
|
|
|
source ~/.zplug/init.zsh
|
2018-04-23 08:27:53 +02:00
|
|
|
source $ZSH/oh-my-zsh.sh
|
2018-04-12 09:44:52 +02:00
|
|
|
|
|
|
|
zplug "plugins/git", from:oh-my-zsh
|
|
|
|
zplug "plugins/fasd", from:oh-my-zsh
|
|
|
|
zplug "plugins/docker", from:oh-my-zsh
|
|
|
|
zplug "plugins/docker-compose", from:oh-my-zsh
|
|
|
|
zplug "plugins/dotenv", from:oh-my-zsh
|
|
|
|
zplug "plugins/rake", from:oh-my-zsh
|
|
|
|
zplug "plugins/tmux", from:oh-my-zsh
|
|
|
|
zplug "plugins/tig", from:oh-my-zsh
|
|
|
|
zplug "plugins/vagrant", from:oh-my-zsh
|
2018-05-16 23:46:41 +02:00
|
|
|
zplug "plugins/kubectl", from:oh-my-zsh
|
2018-04-12 09:44:52 +02:00
|
|
|
zplug "denysdovhan/spaceship-prompt", use:spaceship.zsh, from:github, as:theme
|
|
|
|
zplug "junegunn/fzf", use:shell/key-bindings.zsh
|
|
|
|
zplug "urbainvaes/fzf-marks"
|
|
|
|
zplug "Tarrasch/zsh-autoenv"
|
|
|
|
zplug "MichaelAquilina/zsh-emojis"
|
|
|
|
zplug "stedolan/jq", as:command, from:gh-r, rename-to:jq
|
2017-12-05 22:12:38 +01:00
|
|
|
|
2018-04-23 08:27:53 +02:00
|
|
|
AUTOENV_FILE_ENTER=".direnv"
|
|
|
|
ZSH_THEME="spaceship"
|
|
|
|
|
2017-12-05 22:12:38 +01:00
|
|
|
alias va="vagrant"
|
|
|
|
alias tm="tmux -2"
|
|
|
|
alias ta="tm a -t"
|
|
|
|
alias bi="bundle install"
|
|
|
|
alias be="bundle exec"
|
|
|
|
alias ber="bundle exec rake"
|
|
|
|
alias e=$EDITOR
|
|
|
|
alias ssh-yop="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
|
|
|
|
alias docker-rm-stopped="docker rm (docker ps -a -q)"
|
|
|
|
alias docker-rm-dangling="docker rmi (docker images -q -f dangling=true)"
|
|
|
|
alias dco="docker-compose"
|
|
|
|
alias emacseval="emacs -batch -l ~/.emacs.d/init.el -eval '(org-batch-agenda "a")'"
|
|
|
|
alias dry="docker run -it -v /var/run/docker.sock:/var/run/docker.sock moncho/dry"
|
2018-03-28 17:00:29 +02:00
|
|
|
letterup() { take $1 && cp -a ~/Documents/Personal/Brief-Vorlage/2017-LaTeX/* .; }
|
2018-02-07 07:30:29 +01:00
|
|
|
|
2018-02-21 13:06:45 +01:00
|
|
|
[ "$TERM" = "xterm-termite" ] && export TERM=xterm-256color
|
|
|
|
|
2018-04-12 09:44:52 +02:00
|
|
|
zplug load
|
2018-08-10 22:39:01 +02:00
|
|
|
|
|
|
|
# Work around a broken autocompletion https://github.com/gopasspw/gopass/issues/585
|
|
|
|
source <(gopass completion zsh | head -n -1 | tail -n +2)
|
|
|
|
compdef _gopass gopass
|
|
|
|
|