forked from olyaiy/resume-lm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.zshrc
More file actions
40 lines (34 loc) · 1.05 KB
/
Copy path.zshrc
File metadata and controls
40 lines (34 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
alias notebooks='cd ~/Repositories/notebooks'
alias hw='cd ~/Repositories/UBC/cpsc330-2024s/hw'
alias 330='cd ~/Repositories/UBC/cpsc330-2024s'
alias 330update='cd ~/Repositories/UBC/cpsc330-2024s/hw && git pull'
alias jn='jupyter notebook'
alias jl='jupyter lab'
alias repos='cd ~/Repositories'
alias gpt='cd ~/Repositories/TypeGPT && source myenv/bin/activate && nohup python3 TypeGPT.py > gpt.log 2>&1 &'
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/opt/anaconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/opt/anaconda3/etc/profile.d/conda.sh" ]; then
. "/opt/anaconda3/etc/profile.d/conda.sh"
else
export PATH="/opt/anaconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
# pnpm
export PNPM_HOME="/Users/alexolyaiy/Library/pnpm"
case ":$PATH:" in
*":$PNPM_HOME:"*) ;;
*) export PATH="$PNPM_HOME:$PATH" ;;
esac
# pnpm end
function gp() {
git add .
git commit -m "$1"
git push
}