-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
88 lines (63 loc) · 2.74 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
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
export SHELL=/bin/zsh
DISABLE_UPDATE_PROMPT=true
DISABLE_AUTO_UPDATE=true
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
ulimit -n 1024
# Path to your oh-my-zsh installation.
export ZSH=${HOME}/.oh-my-zsh
export ZSH_THEME="powerlevel10k/powerlevel10k"
if [[ $(uname) == 'Darwin' ]]; then
eval "$(ssh-agent -s)"
ssh-add --apple-use-keychain ${HOME}/.ssh/id_ed25519
fi
# Config Settings
CASE_SENSITIVE="true"
DISABLE_UNTRACKED_FILES_DIRTY="true"
HIST_STAMPS="mm/dd/yyyy"
PROMPT_EOL_MARK=''
# Plugins
plugins=(
ansible
git
virtualenv
gcloud
)
# PATH
# GCloud
export CLOUDSDK_HOME="${HOME}/google-cloud-sdk"
export USE_GKE_GCLOUD_AUTH_PLUGIN=True
# Sourcing
source ${ZSH}/oh-my-zsh.sh
source <(kubectl completion zsh)
eval "$(thefuck --alias)"
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
# Misc
if type brew &>/dev/null; then
FPATH=$(brew --prefix)/share/zsh/site-functions:$FPATH
autoload -Uz compinit
compinit
fi
autoload -U +X bashcompinit && bashcompinit
autoload -Uz compinit && compinit
config='/usr/bin/git --git-dir=${HOME}/.cfg/ --work-tree=${HOME}'
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
if [ -e ${HOME}/.nix-profile/etc/profile.d/nix.sh ]; then . ${HOME}/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
export GOPATH=$HOME/go
export OL_MFA=0
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
# The next line updates PATH for the Google Cloud SDK.
if [ -f "${HOME}/google-cloud-sdk/path.zsh.inc" ]; then . "${HOME}/google-cloud-sdk/path.zsh.inc"; fi
# The next line enables shell command completion for gcloud.
if [ -f "${HOME}/google-cloud-sdk/completion.zsh.inc" ]; then . "${HOME}/google-cloud-sdk/completion.zsh.inc"; fi
#export PATH="/opt/homebrew/bin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/opt/openssl/bin:/Users/cphillips/.local/bin:/Users/cphillips/Library/Python/3.11/bin:/usr/local/go/bin:$PATH"
export PATH="/opt/homebrew/bin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/opt/openssl/bin:/Users/cphillips/.local/bin:/Users/cphillips/Library/Python/3.11/bin:$GOPATH/bin:$PATH"
### MANAGED BY RANCHER DESKTOP START (DO NOT EDIT)
export PATH="/Users/cphillips/.rd/bin:$PATH"
### MANAGED BY RANCHER DESKTOP END (DO NOT EDIT)