-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
48 lines (33 loc) · 1.14 KB
/
.zshrc
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
41
42
43
44
45
46
47
48
# ----- AVERY'S MAC TERMINAL CONFIG -----
# Remove user in prompt
export DEFAULT_USER="$(whoami)"
# Set locale
export LANG=en_US.UTF-8
# ----- oh-my-zsh -----
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="avery"
# Which plugins would you like to load?
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git)
source $ZSH/oh-my-zsh.sh
# ----- rust -----
source $HOME/.cargo/env
# ----- nvm -----
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# ----- yarn -----
export PATH="$(yarn global bin):$PATH"
# ----- aliases -----
alias aa="git add --all"
alias ca="git commit --amend --no-edit"
alias gcm="git checkout main"
alias py="uv run python"
alias stat="git status"
alias env="dotenv-vault"