-
Notifications
You must be signed in to change notification settings - Fork 2
/
.zshrc
41 lines (33 loc) · 1.09 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
#!/usr/bin/env zsh
# .zshrc - Zsh configuration file
ZSH_THEME="agnoster"
DEFAULT_USER=$(whoami)
plugins=(
zsh-syntax-highlighting
)
export TERM="xterm-256color"
export EDITOR="nvim"
export AWS_PAGER=""
export GPG_TTY=$(tty)
export skip_global_compinit=1
export PATH="$PATH:$HOME/.local/bin"
export FZF_DEFAULT_COMMAND='rg --files --ignore-vcs --hidden -g "!{node_modules,.venv,.git}"'
export FZF_DEFAULT_OPTS="--tmux --layout=reverse --border"
export RIPGREP_CONFIG_PATH="$HOME/.config/ripgrep/config"
export MANPAGER="vim -M +MANPAGER - "
export SHELLCHECK_OPTS="-e SC2155 -e SC1008 -e SC2181"
export VIRTUAL_ENV_DISABLE_PROMPT=1 # This allows agnoster to handle the venv prompt
source $HOME/.oh-my-zsh/oh-my-zsh.sh
source start_ssh_agent.sh
alias vim="nvim"
alias vimdiff="nvim -d"
alias tmux="tmux attach -t Base || tmux new -s Base"
eval "$(pyenv init -)"
eval "$(goenv init -)"
eval "$(rbenv init -)"
eval "$(nodenv init -)"
source <(fzf --zsh)
# Enable completions
source <(kubectl completion zsh)
complete -C '$(command -v aws_completer)' aws
# Use ~/.zshenv for secrets and system specific aliases