2017-02-11 14:18:48 +01:00
source ~/antigen/antigen.zsh
2017-02-11 11:18:16 +01:00
antigen bundle robbyrussell/oh-my-zsh lib/
antigen bundle jump
antigen bundle zsh-users/zsh-syntax-highlighting
# autosuggestions based on the history
antigen bundle zsh-users/zsh-autosuggestions
antigen bundle git
2017-05-12 14:20:02 +02:00
antigen bundle gitignore
2017-02-11 11:18:16 +01:00
antigen bundle tmux
antigen bundle tmuxinator
# cargo autocomplete
antigen bundle cargo
# magnet link to torrent file with magnet_to_torrent
antigen bundle torrent
antigen bundle rand-quote
antigen bundle https://github.com/bobthecow/git-flow-completion
2018-08-13 11:50:24 +02:00
antigen theme https://github.com/halfo/lambda-mod-zsh-theme lambda-mod
2019-04-28 20:53:17 +02:00
# antigen theme robbyrussell
2018-08-13 11:50:24 +02:00
# antigen theme https://github.com/agnoster/agnoster-zsh-theme.git agnoster
2019-04-28 20:53:17 +02:00
# antigen theme candy
2017-02-11 11:18:16 +01:00
2018-08-13 11:50:24 +02:00
antigen apply
2017-02-11 11:18:16 +01:00
2018-11-22 18:26:01 +01:00
export PATH = ~/bin:~/.gem/ruby/2.5.0/bin:$PATH
2017-02-11 11:18:16 +01:00
source $HOME /.cargo/env
2019-04-28 20:53:36 +02:00
[ -f $( which sccache) ] && export RUSTC_WRAPPER = sccache
2017-02-11 11:18:16 +01:00
# fix font rendering in Java
export JAVA_OPTS = "-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true"
export EDITOR = /usr/bin/vim
# map vi to vim
alias vi = $EDITOR
2017-05-12 14:20:02 +02:00
2017-02-11 11:18:16 +01:00
# Add an "alert" alias for long running commands. Use like so:
# sleep 10; alert
alias alert = 'notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e ' \' 's/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//' \' ')"'
# print execution time if > 10 seconds
export REPORTTIME = 10
# better shell colors
2019-05-27 22:51:51 +02:00
# BASE16_SHELL="$HOME/.config/base16-shell/scripts/base16-default-dark.sh"
# [[ -s $BASE16_SHELL ]] && source $BASE16_SHELL
# Base16 Shell
# BASE16_SHELL="$HOME/.config/base16-shell/"
# [ -n "$PS1" ] && \
# [ -s "$BASE16_SHELL/profile_helper.sh" ] && \
# eval "$("$BASE16_SHELL/profile_helper.sh")"
2017-02-11 11:18:16 +01:00
# alias to upload a file to sprunge.us
alias sprunge = "curl -F 'sprunge=<-' http://sprunge.us"
# sudo with aliases
# If the last character of the alias value is a space or tab character, then the next command word following the alias is also checked for alias expansion.
alias sudo = 'sudo '
# get tmux to work with true color
# alias tmux='TERM=xterm-256color tmux'
alias tmux = 'tmux -2'
alias mux = 'tmuxinator start'
alias prm = " . $HOME /tools/prm/prm.sh "
# multiple tabs in termite
source /etc/profile.d/vte.sh
2018-08-13 11:50:24 +02:00
# load nix
2019-04-28 21:35:52 +02:00
[ -f $HOME /.nix-profile/etc/profile.d/nix.sh ] && . $HOME /.nix-profile/etc/profile.d/nix.sh
2018-08-13 11:50:24 +02:00
. ~/.drone/drone.vbrandl.net
2017-02-11 14:18:48 +01:00
# copied from http://www.tuxarena.com/2012/04/tutorial-colored-man-pages-how-it-works/
# maybe improve later
export LESS_TERMCAP_mb = $( printf '\e[01;31m' ) # enter blinking mode - red
export LESS_TERMCAP_md = $( printf '\e[01;35m' ) # enter double-bright mode - bold, magenta
export LESS_TERMCAP_me = $( printf '\e[0m' ) # turn off all appearance modes (mb, md, so, us)
2017-05-12 14:20:02 +02:00
export LESS_TERMCAP_se = $( printf '\e[0m' ) # leave standout mode
2017-02-11 14:18:48 +01:00
export LESS_TERMCAP_so = $( printf '\e[01;33m' ) # enter standout mode - yellow
export LESS_TERMCAP_ue = $( printf '\e[0m' ) # leave underline mode
export LESS_TERMCAP_us = $( printf '\e[04;36m' ) # enter underline mode - cyan
2017-02-17 15:59:54 +01:00
unsetopt autopushd
2017-05-12 14:20:02 +02:00
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH = " $HOME /.rvm/bin: $PATH "
2018-11-22 18:26:01 +01:00
export PATH = " $HOME /.gem/ruby/2.5.0/bin: $PATH "
export PATH = " $HOME /.yarn/bin: $PATH "
export PATH = " $HOME /.config/composer/vendor/bin: $PATH "
export PATH = " $HOME /.local/bin: $PATH "
export PATH = " $HOME /.cabal/bin: $HOME /.ghcup/bin: $PATH "
2017-05-12 14:20:02 +02:00
# Linuxbrew
# export PATH="/home/me/.linuxbrew/bin:$PATH"
# export MANPATH="/home/me/.linuxbrew/share/man:$MANPATH"
# export INFOPATH="/home/me/.linuxbrew/share/info:$INFOPATH"
fpath = ( ~/.zsh/completions $fpath )
2018-08-13 11:50:24 +02:00
# added by travis gem
[ -f /home/me/.travis/travis.sh ] && source /home/me/.travis/travis.sh
2019-04-28 20:54:36 +02:00
export GUIX_LOCPATH = " $HOME /.guix-profile/lib/locale "
export PATH = " /home/me/.guix-profile/bin ${ PATH : + : } $PATH "
TIMEFMT = $'\nreal\t%*E\nuser\t%*U\nsys\t%*S\nmaxmem\t%M MB\nfaults\t%F'
# vim: set filetype=zsh ts=4 sw=4 tw=0 et :