ENH: Reworking old dotfiles to use dotbot
This commit is contained in:
commit
73c365eb1e
18 changed files with 698 additions and 0 deletions
36
zsh/zshrc
Normal file
36
zsh/zshrc
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Matthew Dillon
|
||||
# matthewrdillon@gmail.com
|
||||
#
|
||||
# source Prezto.
|
||||
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
|
||||
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
|
||||
fi
|
||||
|
||||
# set up local bin dirs
|
||||
export PATH="$PATH:$HOME/bin:$HOME/.bin"
|
||||
|
||||
# shortcuts to projects
|
||||
export CDPATH="$CDPATH:$HOME/caporaso/qiime2"
|
||||
export CDPATH="$CDPATH:$HOME/projects"
|
||||
|
||||
# shortcuts
|
||||
alias mailserver="sudo python -m smtpd -n -c DebuggingServer localhost:25"
|
||||
alias mongod="mongod --config /usr/local/etc/mongod.conf"
|
||||
alias postgres="postgres -D /usr/local/var/postgres"
|
||||
alias venv="source venv/bin/activate"
|
||||
alias devenv="deactivate"
|
||||
alias q="source activate q2dev"
|
||||
alias i="ipython3"
|
||||
|
||||
# set up golang
|
||||
export GOPATH="/Users/matthew/go"
|
||||
export PATH="$PATH:$GOPATH/bin"
|
||||
export CDPATH="$CDPATH:$GOPATH/src/github.com:$GOPATH/src/code.google.com/p:$GOPATH/src/bitbucket.org"
|
||||
|
||||
# set miniconda3 bin dir last
|
||||
export PATH="$PATH:$HOME/miniconda3/bin"
|
||||
|
||||
BASE16_SHELL=$HOME/.config/base16-shell/
|
||||
[ -n "$PS1" ] && [ -s $BASE16_SHELL/profile_helper.sh ] && eval "$($BASE16_SHELL/profile_helper.sh)"
|
||||
|
||||
alias tmux="TERM=xterm-256color tmux"
|
Loading…
Add table
Add a link
Reference in a new issue