You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

83 lines
2.1 KiB
Bash

source ~/dotfiles/antigen.zsh
antigen use oh-my-zsh
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle git
antigen theme S1cK94/minimal minimal
9 years ago
antigen apply
autoload -U select-word-style
select-word-style bash
9 years ago
HISTSIZE=1000
SAVEHIST=1000
HISTFILE=~/.history
bindkey -e
alias vi=nvim
alias vim=nvim
11 years ago
alias l="ls -la"
alias ta="tmux attach -d"
9 years ago
alias dustinswan="ssh dustinswan@dustinswan.com"
alias kill_offlineimap="ps aux | grep offlineimap | awk '{ print $2 }' | xargs kill -9"
9 years ago
alias e='emacsclient -a "" -t -nw'
alias weather='curl http://wttr.in'
export EDITOR=nvim
export MOSH_TITLE_NOPREFIX=1
export BROWSER=open
12 years ago
# IOCOM stuff
alias dswan="ssh root@dswan.iocom.com"
export P4USER=dswan
export P4PORT="humu.iocom.com:1666"
export P4CONFIG=p4.cfg
export P4EDITOR=vim
alias er='rm -rf logs; unzip -o'
12 years ago
10 years ago
# PATH
9 years ago
export PATH=$HOME/.local/bin:$PATH # Stack
export PATH=$HOME/dotfiles/bin:$PATH
9 years ago
export PATH=$HOME/.npm-packages/bin:$PATH
# export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/site-packages
# nix
if [ -e $HOME/.nix-profile/etc/profile.d/nix.sh ]; then . $HOME/.nix-profile/etc/profile.d/nix.sh; fi
# export OPENSSL_X509_CERT_FILE=${HOME}/.nix-profile/etc/ssl/certs/ca-bundle.crt
# export OPENSSL_X509_CERT_FILE=~/.ssh/cacert.pem
# export GIT_SSL_CAINFO=${OPENSSL_X509_CERT_FILE}
# export CURL_CA_BUNDLE=${OPENSSL_X509_CERT_FILE}
# export SSL_CERT_FILE=${OPENSSL_X509_CERT_FILE}
# Keychain
eval `keychain --eval id_rsa`
# Homebrew Github Token
export HOMEBREW_GITHUB_API_TOKEN=`gpg -d ~/.homebrew@github-password.gpg`
9 years ago
# Heroku Toolbelt
10 years ago
export PATH="/usr/local/heroku/bin:$PATH"
# FZF
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
9 years ago
# iTerm2
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
source /usr/local/opt/chruby/share/chruby/chruby.sh
source /usr/local/opt/chruby/share/chruby/auto.sh
# Colored Man
man() {
env \
LESS_TERMCAP_mb=$(printf "\e[1;31m") \
LESS_TERMCAP_md=$(printf "\e[1;31m") \
LESS_TERMCAP_me=$(printf "\e[0m") \
LESS_TERMCAP_se=$(printf "\e[0m") \
LESS_TERMCAP_so=$(printf "\e[1;44;33m") \
LESS_TERMCAP_ue=$(printf "\e[0m") \
LESS_TERMCAP_us=$(printf "\e[1;32m") \
man "$@"
}