Skip to content

Instantly share code, notes, and snippets.

@joelrebel
Created April 5, 2024 07:54
Show Gist options
  • Save joelrebel/1c96a7c48225655864d3add6e005e881 to your computer and use it in GitHub Desktop.
Save joelrebel/1c96a7c48225655864d3add6e005e881 to your computer and use it in GitHub Desktop.
export PATH="/usr/local/opt/sqlite/bin:$HOME/go/bin:/usr/local/bin:$PATH"
export PATH="/usr/local/opt/libpq/bin:$PATH"
export PATH="/usr/local/opt/openjdk/bin:$PATH"
export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"
export PATH="/usr/local/opt/grep/libexec/gnubin:$PATH"
export ZSH_CUSTOM="/Users/jrebello/.oh-my-zsh/custom"
plugins=(
git
kube-ps1
zsh-autosuggestions
zsh-syntax-highlighting
)
HISTSIZE=10000 #How many lines of history to keep in memory
HISTFILE=~/.zsh_history #Where to save history to disk
SAVEHIST=10000 #Number of history entries to save to disk
HISTDUP=erase #Erase duplicates in the history file
setopt appendhistory #Append history to the history file (no overwriting)
setopt sharehistory #Share history across terminals
setopt incappendhistory #Immediately append to the history file, not just when a term is killed
# fzf
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
## kubectl
autoload -Uz compinit
compinit
source <(kubectl completion zsh)
# pure prompt
fpath+=$HOME/.zsh/pure
autoload -U promptinit && promptinit
zstyle ':prompt:pure:prompt:error' color red
zstyle ':prompt:pure:prompt:success' color limegreen
prompt pure
# rbenv
eval "$(rbenv init -)"
# GPG key signing
# fixes -- gpg: signing failed: Inappropriate ioctl for device
export GPG_TTY=$(tty)
# Base16 Shell
#BASE16_SHELL="$HOME/.config/base16-shell/"
#[ -n "$PS1" ] && \
# [ -s "$BASE16_SHELL/profile_helper.sh" ] && \
# eval "$("$BASE16_SHELL/profile_helper.sh")"
# Generated for envman. Do not edit.
[ -s "$HOME/.config/envman/load.sh" ] && source "$HOME/.config/envman/load.sh"
export PATH="/usr/local/opt/curl/bin:$PATH"
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/Users/jrebello/projects/crystalball/gcloud-ocrthingy/google-cloud-sdk/path.zsh.inc' ]; then . '/Users/jrebello/projects/crystalball/gcloud-ocrthingy/google-cloud-sdk/path.zsh.inc'; fi
# The next line enables shell command completion for gcloud.
if [ -f '/Users/jrebello/projects/crystalball/gcloud-ocrthingy/google-cloud-sdk/completion.zsh.inc' ]; then . '/Users/jrebello/projects/crystalball/gcloud-ocrthingy/google-cloud-sdk/completion.zsh.inc'; fi
### MANAGED BY RANCHER DESKTOP START (DO NOT EDIT)
export PATH="/Users/jrebello/.rd/bin:$PATH"
### MANAGED BY RANCHER DESKTOP END (DO NOT EDIT)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment