-
Notifications
You must be signed in to change notification settings - Fork 1
/
dot_zshrc
75 lines (58 loc) · 1.79 KB
/
dot_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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="miloshadzic"
PROJECTS=~/Documents/projects/
plugins=(brew git git-auto-fetch gitfast gitignore npm nvm yarn)
zstyle ':omz:plugins:nvm' autoload yes
ZSH_DISABLE_COMPFIX="true"
source $ZSH/oh-my-zsh.sh
export EDITOR="code --wait"
export JAVA_HOME=/usr/local/Cellar/openjdk/21.0.2
export PATH=/bin:$PATH
export PATH=/usr/bin:$PATH
export PATH=/usr/local/bin:$PATH
export PATH=/usr/sbin:$PATH
export PATH=/sbin:$PATH
export PATH=/usr/X11/bin:$PATH
export PATH=/usr/libexec:$PATH
export PATH="$HOME/bin:$PATH"
export PATH=/usr/local/sbin:$PATH
export PATH="/usr/local/opt/postgresql@12/bin:$PATH"
export PATH="./node_modules/.bin:$PATH"
export PATH="$HOME/.npm-global/bin:$PATH"
export PATH="$JAVA_HOME/bin:$PATH"
export PATH="./bin:$PATH"
NPM_CONFIG_PREFIX=~/.npm-global
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
alias reload="source ~/.zshrc && cd -"
# LOAD SHELL ALIASES
. ~/.aliases/colors.sh # Must be first included
. ~/.aliases/archive.sh
. ~/.aliases/chrome.sh
. ~/.aliases/editor.sh
. ~/.aliases/git.sh
. ~/.aliases/heroku.sh
. ~/.aliases/ip.sh
. ~/.aliases/mongo.sh
. ~/.aliases/node.sh
. ~/.aliases/path.sh
. ~/.aliases/pg.sh
. ~/.aliases/rails.sh
. ~/.aliases/rbenv.sh
. ~/.aliases/ssh.sh
. ~/.aliases/text.sh
. ~/.aliases/zsh.sh
# Use .localrc for SUPER SECRET CRAP
if [[ -a ~/.localrc ]]; then
source ~/.localrc
fi
# Auto updating dotfiles
if [ -f ~/.dotfiles_update ]; then
. ~/.dotfiles_update
fi