-
Notifications
You must be signed in to change notification settings - Fork 1
/
zshrc
69 lines (54 loc) · 1.78 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
# Path to your oh-my-zsh configuration.
DOTFILES=$HOME/.dotfiles
ZSH=$DOTFILES/modules/oh-my-zsh
ZSH_CUSTOM=$DOTFILES/zsh-custom
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
ZSH_THEME="powerlevel10k/powerlevel10k"
# CASE_SENSITIVE="true"
DISABLE_AUTO_UPDATE="true"
# export UPDATE_ZSH_DAYS=13
# DISABLE_LS_COLORS="true"
# DISABLE_AUTO_TITLE="true"
ENABLE_CORRECTION="false"
COMPLETION_WAITING_DOTS="true"
DEFAULT_USER='rpasay'
HISTFILESIZE=1000000000
HISTSIZE=80000000
SAVEHIST=80000000
# DISABLE_UNTRACKED_FILES_DIRTY="true"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ./zsh-custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(docker encode64 fancy-ctrl-z jsontools sprunge ssh-agent rvm bundler brew aws z)
plugins+=(bd direnv fleetctl gogo kube gpg-agent)
zstyle :omz:plugins:ssh-agent agent-forwarding on
zstyle :omz:plugins:ssh-agent identities id_ed25519 id_rsa
# Goodness, that's annoying.
unsetopt correct_all
unsetopt correct
if [[ -f ~/perl5/perlbrew/etc/bashrc ]]
then
source ~/perl5/perlbrew/etc/bashrc
fi
if [[ -r "$HOME/.zshprerc" ]]
then
source $HOME/.zshprerc
fi
source $ZSH/oh-my-zsh.sh
export PATH=/usr/local/sbin:$PATH
if [[ -r "$HOME/.zshpostrc" ]]
then
source $HOME/.zshpostrc
fi
if [[ -f "/usr/local/opt/asdf/asdf.sh" ]]
then
source /usr/local/opt/asdf/asdf.sh
fi
# powerlevel10k configuration
[[ ! -f $DOTFILES/zsh-custom/styles/normal.zsh ]] || source $DOTFILES/zsh-custom/styles/normal.zsh
# iTerm2 > Install Shell Integration
[[ -f /Users/ripta/.iterm2_shell_integration.zsh ]] && source /Users/ripta/.iterm2_shell_integration.zsh || true
# rustup shell setup
[[ -f $HOME/.cargo/env ]] && source $HOME/.cargo/env || true
alias vi=nvim