42 lines
1.2 KiB
Bash
42 lines
1.2 KiB
Bash
## RVM binaries
|
|
export PATH=$HOME/.rvm/bin:$PATH
|
|
|
|
## Brew installed binaries
|
|
export PATH=/usr/local/sbin:/usr/local/bin:$PATH
|
|
|
|
## Make android-sdk known
|
|
export PATH=$PATH:$HOME/android-sdk-macosx/platform-tools
|
|
|
|
## Activate go using gimme if any go version is available
|
|
[ -e ${HOME}/.gimme/envs/latest.env ] && source ${HOME}/.gimme/envs/latest.env
|
|
|
|
## Custom scripts
|
|
export PATH=$HOME/bin:$PATH
|
|
source $HOME/config/zsh/go-binaries.sh
|
|
|
|
## Some default settings
|
|
export EDITOR=/usr/bin/vim
|
|
export AUTOGOPATH_DEFAULT=$HOME/gocode
|
|
export ANSIBLE_NOCOWS=1
|
|
export LANG=en_US.UTF-8
|
|
export LC_CTYPE=${LANG}
|
|
export TZ="Europe/Berlin"
|
|
|
|
## Map alt+← and alt+→ to move cursor word wise
|
|
bindkey -e
|
|
bindkey '^[[1;9C' forward-word
|
|
bindkey '^[[1;9D' backward-word
|
|
|
|
## Aliases
|
|
alias alpine='docker run --rm -ti alpine /bin/sh'
|
|
alias gentex='drm dev -- docker run --rm -ti -v $(pwd):/src luzifer/xetexgen'
|
|
alias gometalinter='gometalinter -D aligncheck -D errcheck -e bindata.go'
|
|
|
|
## Initialize GPG agent
|
|
source ${HOME}/.zsh/gpg-agent.plugin.zsh
|
|
|
|
## Load config-git functions
|
|
source ${HOME}/.zsh/config-git.zsh
|
|
|
|
## Load local-config if available
|
|
[ -e ${HOME}/.zsh/local-config.zsh ] && source ${HOME}/.zsh/local-config.zsh
|