IMP: vscode-specific project structuring (#6)
This commit is contained in:
parent
cba51bb5c7
commit
4e388ed79a
26 changed files with 1161 additions and 982 deletions
23
zsh/zshenv
23
zsh/zshenv
|
@ -20,8 +20,8 @@ fi
|
|||
# Editors
|
||||
#
|
||||
|
||||
export EDITOR='code'
|
||||
export VISUAL='code'
|
||||
export EDITOR='vim'
|
||||
export VISUAL='vim'
|
||||
export PAGER='less'
|
||||
|
||||
#
|
||||
|
@ -67,16 +67,10 @@ fi
|
|||
typeset -gU cdpath fpath mailpath path
|
||||
|
||||
# Set the the list of directories that cd searches.
|
||||
cdpath=(
|
||||
# shortcuts to projects
|
||||
$HOME/src/biocore
|
||||
$HOME/src/caporaso-lab
|
||||
$HOME/src/gregcaporaso
|
||||
$HOME/src/qiime2
|
||||
$HOME/src/thermokarst
|
||||
.
|
||||
$cdpath
|
||||
)
|
||||
# cdpath=(
|
||||
# .
|
||||
# $cdpath
|
||||
# )
|
||||
|
||||
# Set the list of directories that Zsh searches for programs.
|
||||
path=(
|
||||
|
@ -85,9 +79,8 @@ path=(
|
|||
# miniconda
|
||||
/opt/miniconda3/bin
|
||||
|
||||
# yarn
|
||||
$HOME/.yarn/bin
|
||||
$HOME/.config/yarn/global/node_modules/.bin
|
||||
# npm
|
||||
$HOME/.npm-packages/bin
|
||||
|
||||
# misc apps
|
||||
/Applications/Postgres.app/Contents/Versions/12/bin/
|
||||
|
|
10
zsh/zshrc
10
zsh/zshrc
|
@ -15,16 +15,11 @@ if [[ -s "/opt/miniconda3/etc/profile.d/conda.sh" ]]; then
|
|||
fi
|
||||
|
||||
# shortcuts
|
||||
alias mailserver="sudo python -m smtpd -n -c DebuggingServer localhost:25"
|
||||
alias mongod="mongod --config /usr/local/etc/mongod.conf"
|
||||
alias venv="source venv/bin/activate"
|
||||
alias devenv="deactivate"
|
||||
alias q="conda activate q2dev"
|
||||
alias i="ipython3"
|
||||
|
||||
BASE16_SHELL=$HOME/.config/base16-shell/
|
||||
[ -n "$PS1" ] && [ -s $BASE16_SHELL/profile_helper.sh ] && eval "$($BASE16_SHELL/profile_helper.sh)"
|
||||
[ -f $HOME/.fzf.zsh ] && source $HOME/.fzf.zsh
|
||||
|
||||
# Backup shortcuts (borrowed parts from https://github.com/laurent22/rsync-time-backup
|
||||
function prune_backups() {
|
||||
|
@ -71,7 +66,4 @@ function back_things_up() {
|
|||
# TODO: once confident pruning is working well, add that in here
|
||||
}
|
||||
|
||||
|
||||
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
|
||||
|
||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||
eval "$(gh completion -s zsh)"
|
Loading…
Add table
Add a link
Reference in a new issue