Zshrc

ZSH with Oh My Zsh #

~/.zshrc

export ZSH="$HOME/.oh-my-zsh"
export JARVIS_PATH="$HOME/environment"
export PATH=$PATH:$HOME/bin
export HISTCONTROL=ignoreboth:erasedups
export HISTTIMEFORMAT="%Y-%m-%d %H:%M:%S "
export HISTFILESIZE=10000  # Number of commands to keep in history file
export HISTSIZE=10000
export HISTFILE="$HOME/.zsh_history"
export HISTORY_IGNORE="(cd|ls|pwd|exit|l)*"
export LSCOLORS="Dxexdxfxcxbgbdabagaacd"

ZSH_THEME="af-magic"
ENABLE_CORRECTION="true"
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=#6a6a6a,bg=black'
PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH"
plugins=(git zsh-autosuggestions macos brew colored-man-pages)

[ -e $JARVIS_PATH/cli ] && source $JARVIS_PATH/cli
source <(kubectl completion zsh)
source $HOME/.docker/init-zsh.sh || true
eval "$(fzf --zsh)"
source $ZSH/oh-my-zsh.sh