Skip to content

Instantly share code, notes, and snippets.

@thesabbir
Last active May 25, 2021 14:06
Show Gist options
  • Save thesabbir/e11edbf09735942d0914e19afab7d8c6 to your computer and use it in GitHub Desktop.
Save thesabbir/e11edbf09735942d0914e19afab7d8c6 to your computer and use it in GitHub Desktop.
Zsh config
export ZSH="/Users/sabbir/.oh-my-zsh"
export UPDATE_ZSH_DAYS=30
ZSH_THEME="spaceship"
DISABLE_UPDATE_PROMPT="true"
COMPLETION_WAITING_DOTS="true"
plugins=(git zsh-iterm-touchbar zsh-autosuggestions history-substring-search git-extras git-flow npm node z extract fancy-ctrl-z zsh_reload docker git-extras osx yarn zsh-syntax-highlighting)
source $ZSH/oh-my-zsh.sh
source ~/.iterm2_shell_integration.zsh
export MANPATH="/usr/local/man:$MANPATH"
export LANG=en_US.UTF-8
export EDITOR=nvim
export ARCHFLAGS="-arch x86_64"
export PAGER=vimpager
export VISUAL=nvim
export BROWSER="Google Chrome"
export REACT_EDITOR="idea"
alias zshconfig="vim ~/.zshrc"
alias gcd="gco dev"
alias gcs="gco staging"
alias k='k -h'
alias vi=nvim
export NMAPDIR="$HOME/.nmap/scripts"
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
export PATH="$PATH:/Users/sabbir/Workspace/flutter/bin"
export PATH="/usr/local/opt/apr/bin:/usr/local/sbin:$PATH"
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
# kubectl auto complete
source <(kubectl completion zsh)
export GOPATH="$HOME/Workspace/projects2021/go"
export GOROOT="/usr/local/opt/go/libexec"
export PATH="$PATH:$GOPATH/bin"
export PATH="$PATH:$GOROOT/bin"
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
export PATH="/Users/sabbir/.deno/bin:$PATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment