-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzshrc
106 lines (75 loc) · 3.2 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
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[[ $TERM == "dumb" ]] && unsetopt zle && PS1='$ ' && return
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
DEFAULT_USER=powersurge360
# 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="agnoster"
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
# Set to this to use case-sensitive completion
# CASE_SENSITIVE="true"
# Comment this out to disable weekly auto-update checks
# DISABLE_AUTO_UPDATE="true"
# Uncomment following line if you want to disable colors in ls
# DISABLE_LS_COLORS="true"
# Uncomment following line if you want to disable autosetting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment following line if you want red dots to be displayed while waiting for completion
# COMPLETION_WAITING_DOTS="true"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(git aws mercurial pip npm python command-not-found github)
source $ZSH/oh-my-zsh.sh
# To stop tmux from mutating the path over and over again when profile helper runs
if [ -f /etc/profile ]; then
PATH=""
source /etc/profile
fi
# Customize to your needs...
export PATH="/opt/homebrew/bin:$PATH"
export PATH="/opt/homebrew/sbin:$PATH"
export EDITOR="nvim"
export CLASSPATH="."
[[ -e $HOME/.android ]] && export PATH="$HOME/.android/platform-tools:$HOME/.android/tools:$PATH"
[[ -e $HOME/.android-studio ]] && export PATH="$HOME/.android-studio/bin:$PATH"
[[ -e $HOME/.activator ]] && export PATH=~/.activator:$PATH
[[ -e $HOME/.android ]] && export ANDROID_HOME=~/Android/Sdk
[[ -e $HOME/.emacs.d ]] && export PATH="$HOME/.emacs.d/bin:$PATH/"
[[ -e $HOME/.config/emacs ]] && export PATH="$HOME/.config/emacs/bin:$PATH/"
export PATH=~/.local/bin:$PATH
### Added by the Heroku Toolbelt
export PATH="/usr/local/heroku/bin:$PATH"
[[ -e $HOME/.ansible ]] && export ANSIBLE_ROLES_PATH=$HOME/.ansible/roles
export LEDGER_FILE=~/finances/finances.ledger
export LEDGER_PRICE_DB=~/finances/prices_db.ledger
# Go installation
export GOPATH=~/.go
export PATH=$PATH:$(go env GOPATH)/bin
export ANDROID_HOME=/Users/$USER/Library/Android/sdk
export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
[[ -e $HOME/.composer ]] && export PATH=$HOME/.composer/vendor/bin:$PATH
[[ -e ~/.google_appengine ]] && export PATH=$PATH:~/.google_appengine
[ $+commands[fzf] ] && source <(fzf --zsh)
[[ -d /usr/local/opt/asdf ]] && . /usr/local/opt/asdf/libexec/asdf.sh
[[ -d /opt/homebrew/opt/asdf/libexec ]] && . /opt/homebrew/opt/asdf/libexec/asdf.sh
export PATH="${ASDF_DATA_DIR:-$HOME/.asdf}/shims:$PATH"
# append completions to fpath
fpath=(${ASDF_DATA_DIR:-$HOME/.asdf}/completions $fpath)
# initialise completions with ZSH's compinit
autoload -Uz compinit && compinit
# pnpm
export PNPM_HOME="/Users/powersurge360/Library/pnpm"
export PATH="$PNPM_HOME:$PATH"
# pnpm end
# Disable auto titling for tmux
export DISABLE_AUTO_TITLE='true'
# Work On a project using tmuxp
wo() {
tmuxp load $1
}
eval "$(direnv hook zsh)"