Skip to content

Instantly share code, notes, and snippets.

@shivanshuraj1333
Last active July 5, 2025 13:33
Show Gist options
  • Save shivanshuraj1333/189905b384ab265727e1eec9b6b82cfa to your computer and use it in GitHub Desktop.
Save shivanshuraj1333/189905b384ab265727e1eec9b6b82cfa to your computer and use it in GitHub Desktop.
#!/bin/zsh
# ____ _ _ _
# / ___|| |__ (_)_ ____ _ _ __ ___| |__ _ _
# \___ \| '_ \| \ \ / / _` | '_ \/ __| '_ \| | | |
# ___) | | | | |\ V / (_| | | | \__ \ | | | |_| |
# |____/|_| |_|_| \_/ \__,_|_| |_|___/_| |_|\__,_|
#
# πŸ’° Shivanshu's Personal Zsh Configuration πŸ’°
# _β•“β–„β–„β–„β–„β–„β–„,_ {╦
# _,β–„β–“β–“β–“β–“β–“β–“β•¬β•£β–ˆβ–“β–“β–ˆβ–ˆβ–“β–“β•¬β‰ˆβ–‘,H _
# β•“β•£β–“β–ˆβ–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β–ˆβ–ˆβ–ˆβ•£β•£β–ˆβ–“β–ˆβ–„β–ˆβ–’Β΅β–β–’β•”
# β•”β–“β–ˆβ–ˆβ–ˆβ–“β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β–ˆβ–ˆβ–ˆβ•£β–ˆβ–“β–“β–“β–“β–“
# β–“β–“β–ˆβ–“β–“β–“β–“β•£β•¬β–“β–“β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•¬β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘βŒ‚^
# β•“β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β–“β–“β–ˆβ–ˆβ–ˆβ–ˆβ–“β•£β–“β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•¬β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β–„β‰‘βŒ
# β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β–ˆβ–“β•¬β•¬β•¬β•¬β•©β•©β•šβ•šβ•šβ•šβ•šβ• β• β•¬β•¬β•¬β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–’
# β–ˆβ•¬β–ˆβ–ˆβ–ˆβ–ˆβ•£β•¬β•©β•šΓœΓœΓœ```β–‘Γœβ–‘ΓœΓœΓœβ–‘β• β• β• β•¬β•£β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•©β–“H
# β–ˆβ–ˆβ–ˆβ•¬β•¬β•¬ΓœΓœΓœβ–‘β–‘``` Β»Β»Β»β–‘β–‘β–‘β–‘β• β• β• β• β•¬β•¬β–“β–ˆβ–ˆβ–ˆβ•¬β•¬
# β•‘β–ˆβ–“β•¬ΓœΓœβ–‘β–‘β–‘β–‘``` `Β»β–‘β–‘β–‘β–‘β• β• β•¬β•¬β•¬β•¬β•£β–ˆβ–ˆβ–ˆβ•£β•¬
# β•‘β–“β–ˆΓœβ–‘β–‘β–‘β–‘______ ````β–‘β• β•©β• β• β•¬β•¬β•£β–ˆβ•¬β•¬β–’
# β•™β–ˆβ–’β–‘Β΅Rβ•©β•©β•β•©β–ˆβ–“β–“β•£β•¬β–‘_β–‘β•”β•”@β–“β–“β–“β–“β–“β–“β–“β•β•¬β•©β–“β•£β–ˆ
# !β–’β•—β•“β–„β–ˆβ–“β–“β–“β–“β–“β–“β–“β–“β•¬β•¬Γ‘β•šβ• β–ˆβ–“β–“β–“β–ˆβ–“β–ˆβ•¬β•¬β•‘β–ˆβ–Œβ–’β–„β–„β–“,
# |β•©β–‘β–’β•¬β• β• β• β•¬β•¬β•¬β•¬β•¬β•©β•©β–‘Γœ ]β• β•‘β•¬β–’β•¬β•¬β•’β•£β–ˆβ–ˆβ•¬β•¬β”‚β•«β•£β–“β• 
# β• β• ΓœΓœΓœβ–‘Γœβ•™β•™β•™Γœβ–‘β–‘Γ„` :β• β•‘β•¬β–‘β•™β•™β•šβ•šβ•™β• β• Γœ:β–“β–“β–“^
# β•™Γœβ• Γœβ–‘__ __β–‘β–‘` ░╠╬░╫▒░»░╠╠║▒:β–“β•©Γ‘
# 'β–‘β•¬ΓœΓœβ–’β–‘β–‘β–‘β–’Γœ`Β΅β–„β–“@β–’β–“β–“β–“β–„β•£β•¬β–’β–‘β–‘β• β•£β•¬Γœβ–β–“β–“
# `╠▒▒╠╠▒╬▓▓@β–“β•¬β–“β•¬β–’β• β•£β–“β–ˆβ–“β–“β–“β–’β• β•£β•¬β–“β•¬β•¬β–€^
# ╬╬░╠░╠▓╩╝KΓœβ–„β–„β–„β–’β•¬β•£β•£β–“β–ˆβ–ˆβ–ˆβ•’β•¬β•£β–“β•¬
# β•šβ–’β–“β•£β–’β•£β–’β–‘Γ»Γœβ–‘__░│░╠╬╠╬╣▒▓╣▓▓╩
# β•™β–ˆβ–“β•£β–ˆβ–“β–’β–‘Β²β•‘β–“β–“β–“β–“β–“β•¬β•¬β•£β•£β–ˆβ–ˆβ–ˆβ–“β–“β•¬
# β•‘β–ˆβ–ˆβ–“β–’β–’β–‘__β–‘β–‘β• β–‘β• β• β•£β–“β–ˆβ–ˆβ–ˆβ–ˆβ•¬β•¬
# β•šβ–‘β• β–ˆβ–ˆβ–“β–“β–“β•£β–“β–’β–’β–“β–“β–“β–ˆβ–ˆβ–ˆβ–ˆβ–“β–“β–“β•¬
# [β•¬β• β•‘β• β•¬β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β–ˆβ–ˆβ–ˆβ–“β•¬β•¬β–’_
# ΓœΓœβ• β•¬β•¬β• β• β•¬β•£β•¬β–“β–ˆβ–“β–ˆβ–ˆβ–“β–ˆβ•¬β•¬β•¬β• β•¬β•¬β–’β•¦_>β•—β•–
# _β•¦β• β–‘β–‘β•šβ•¬β•¬β•£β•£β•£β•¬β•¬β• β•¬β•¬β•¬β•¬β•¬β•¬β•¬β• β•¬β• β• β•¬β•¬β•¬β–’β–“β–ˆβ–“β–ˆβ–„_
# _β–„Ο†β–ˆΓœβ–‘β• β–’β–‘β–‘β–‘β–‘β•™β•šΓœΓœβ•™β–‘β–‘β–‘β–‘β–‘β–‘β–‘β• β• β• β•¬β•©β–‘Γœβ–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β–„_
# _β–„β–ˆβ–ˆβ–“β–ˆβ–ˆβ–‘β–‘β• β•¬β–’β–‘β–‘β–‘β–’β–’β–‘β–’β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘Γœβ• Γœ,β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•£β–ˆβ–ˆKβ–„_
# _β•“β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ŒΒ»β–‘β–‘β• β–‘β–‘ΓœΓœΓœΓœΓœ``Γœβ–‘β–‘β–‘β–‘β–‘Β΅β–„β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β• β–“β•—,
# ,β–„β–“β–“β–ˆβ–ˆβ–ˆβ–ˆβ–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„β–‘ΓœΓœβ–‘`β–‘Β»β–‘Β»;β–„β–„β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β–“β•¬β–ˆβ–“β–„_
# _β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β–ˆβ–ˆβ–ˆβ–“β–ˆβ–“β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β–“β–ˆβ–“Ο†_
# β•“β–“β–ˆβ–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β–“β–„
# β–“β–ˆβ–“β–ˆβ–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β–ˆβ–ˆβ–ˆβ–ˆβ–“
# β•‘β–ˆβ–ˆβ–ˆβ–ˆβ–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
# |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β–“β–ˆβ–ˆβ–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
####################################### $$$$$$$$$$$$$ ######################################
# #
# shivanshu1333 #
# #
####################################### $$$$$$$$$$$$$ ######################################
# Homebrew Initialization
eval "$(/opt/homebrew/bin/brew shellenv)"
# Oh My Zsh Configuration
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="robbyrussell"
# Plugins
plugins=(
zsh-autosuggestions
git
)
# Environment Variables
export GPG_TTY=$(tty)
export JAVA_HOME=/opt/homebrew/Cellar/openjdk@17/17.0.13/libexec/openjdk.jdk/Contents/Home
export PATH=$JAVA_HOME/bin:$PATH
export PATH=/Users/s/oss/personal/chaincode/bitcoin-28.0/bin:$PATH
export HIST_STAMPS="yyyy-mm-dd"
# Source Essential Files
source $ZSH/oh-my-zsh.sh
source /opt/homebrew/share/zsh-autocomplete/zsh-autocomplete.plugin.zsh
source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# History Configuration
HISTFILE=~/.zsh_history
HISTSIZE=1000000
SAVEHIST=1000000
# Comprehensive History Options
setopt \
APPEND_HISTORY \
SHARE_HISTORY \
INC_APPEND_HISTORY \
HIST_EXPIRE_DUPS_FIRST \
HIST_IGNORE_ALL_DUPS \
HIST_REDUCE_BLANKS \
HIST_IGNORE_SPACE \
HIST_VERIFY \
HIST_FIND_NO_DUPS \
AUTO_RESUME
# Completion and Navigation
setopt \
AUTO_CD \
AUTO_PUSHD \
AUTO_LIST \
AUTO_MENU \
MENU_COMPLETE \
CORRECT \
CORRECT_ALL
# Globbing and Pattern Matching
setopt \
EXTENDED_GLOB \
GLOB_DOTS
# Prompt Customization
# setopt PROMPT_SUBST
# PROMPT='πŸ’Ό %n@%m:%~%# '
# RPROMPT='%] πŸ’°'
# Completion System
autoload -Uz compinit
compinit
zstyle ':completion:*' use-cache yes
zstyle ':completion:*' cache-path ~/.zsh/cache
mkdir -p ~/.zsh/cache
# Key Bindings
bindkey "^R" history-incremental-search-backward
# Utility Functions
mkcd() {
mkdir -p "$1" && cd "$1"
}
# Investment Tracking Alias
alias portfolio='echo "πŸ’Ή Keep investing in yourself and your code! πŸ’Ή"'
# Existing Aliases
alias c='clear'
alias k='kubectl'
alias gs='git status'
alias gc='git commit -S -m'
alias kgc='k config get-contexts'
alias kgns='k get ns'
alias kgp='k get pods'
alias kgpa='k get pods -A'
alias kns='k config set-context --current --namespace'
alias kgd='k get daemonset'
alias list-all-java='/usr/libexec/java_home -V'
alias python='python3'
alias ll='ls -la'
alias gp='git pull'
alias gd='git diff'
alias b="bitcoin-cli -conf=/Users/s/oss/personal/chaincode/bitcoin-28.0/bitcoin.conf"
alias bitcoin-cli="bitcoin-cli -conf=/Users/s/oss/personal/chaincode/bitcoin-28.0/bitcoin.conf"
alias klb="sudo cloud-provider-kind"
alias kn="kubectl -n awake-eft"
alias hey="activity-monitor"
alias gratitude="activity-daemon start"
alias peace-out="activity-daemon stop"
alias what-up="activity-daemon status"
alias hey-love="ollama-cli"
# Optional: FZF Integration
if [[ -f $(brew --prefix)/opt/fzf/shell/key-bindings.zsh ]]; then
source $(brew --prefix)/opt/fzf/shell/key-bindings.zsh
source $(brew --prefix)/opt/fzf/shell/completion.zsh
fi
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment