Misc Updates (#1)

This commit is contained in:
Matthew Ryan Dillon 2019-02-12 10:15:47 -07:00 committed by GitHub
parent d7ae1db223
commit 8d16ed159b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 770 additions and 157 deletions

View file

@ -87,7 +87,7 @@ zstyle ':prezto:module:git:alias' skip 'yes'
# Set the prompt theme to load.
# Setting it to 'random' loads a random theme.
# Auto set to 'off' on dumb terminals.
zstyle ':prezto:module:prompt' theme 'cloud'
zstyle ':prezto:module:prompt' theme 'peepcode'
#
# Screen

View file

@ -26,38 +26,6 @@ if [[ -z "$LANG" ]]; then
export LANG='en_US.UTF-8'
fi
#
# Paths
#
typeset -gU cdpath fpath mailpath path
# Set the the list of directories that cd searches.
# cdpath=(
# $cdpath
# )
# Set the list of directories that Zsh searches for programs.
path=(
/usr/local/{bin,sbin}
$path
)
# 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"
# 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"
#
# Less
#
@ -85,3 +53,41 @@ TMPPREFIX="${TMPDIR%/}/zsh"
if [[ ! -d "$TMPPREFIX" ]]; then
mkdir -p "$TMPPREFIX"
fi
#
# Paths
#
# shortcuts to projects
export CDPATH="$CDPATH:$HOME/src/biocore"
export CDPATH="$CDPATH:$HOME/src/caporaso-lab"
export CDPATH="$CDPATH:$HOME/src/gregcaporaso"
export CDPATH="$CDPATH:$HOME/src/qiime2"
export CDPATH="$CDPATH:$HOME/src/thermokarst"
export CDPATH="$CDPATH:."
# miniconda
export PATH="/opt/miniconda3/bin:$PATH"
# macports
export PATH="/opt/local/bin:$PATH"
export PATH="/opt/local/sbin:$PATH"
# golang
export GOROOT=/opt/go
export PATH="$GOROOT/bin:$PATH"
typeset -gU cdpath fpath mailpath path
# Set the the list of directories that cd searches.
cdpath=(
$cdpath
)
# Set the list of directories that Zsh searches for programs.
path=(
$path
/usr/local/{bin,sbin}
)
export -U PATH

View file

@ -9,10 +9,9 @@ fi
# 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-2017.10"
alias q="source activate q2dev"
alias i="ipython3"
BASE16_SHELL=$HOME/.config/base16-shell/
@ -62,4 +61,3 @@ function back_things_up() {
ln -s $dest_root/$date $dest_root/latest
# TODO: once confident pruning is working well, add that in here
}
alias gmg=$GOPATH/bin/go-many-git