Created
September 16, 2025 12:03
-
-
Save iTrauco/46eeb8cd81c0d357a3f241a8e2945d49 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/zsh | |
| ################################################################# | |
| # π CLEAN ZSHRC CONFIGURATION | |
| # Simple Oh My Zsh setup that auto-loads .zsh files from custom/ | |
| # Author: @trauco | |
| # Last Updated: 2025-07-25 | |
| ################################################################# | |
| ################################################################# | |
| # π BASIC PATH CONFIGURATION | |
| ################################################################# | |
| export PATH="$HOME/bin:$HOME/.local/bin:$HOME/.scripts:/usr/local/bin:$PATH" | |
| ################################################################# | |
| # π¨ OH MY ZSH CONFIGURATION | |
| ################################################################# | |
| # Path to Oh My Zsh installation | |
| export ZSH="$HOME/.oh-my-zsh" | |
| # Theme configuration | |
| ZSH_THEME="robbyrussell" | |
| # Popular alternatives: "agnoster", "powerlevel10k/powerlevel10k", "spaceship", "bullet-train" | |
| # Update behavior | |
| zstyle ':omz:update' mode auto | |
| zstyle ':omz:update' frequency 13 | |
| # Configuration options | |
| CASE_SENSITIVE="false" | |
| HYPHEN_INSENSITIVE="true" | |
| DISABLE_AUTO_TITLE="false" | |
| ENABLE_CORRECTION="true" | |
| COMPLETION_WAITING_DOTS="true" | |
| DISABLE_UNTRACKED_FILES_DIRTY="true" | |
| # History settings | |
| HIST_STAMPS="yyyy-mm-dd" | |
| # Plugins (mix of built-in and custom) | |
| plugins=( | |
| git | |
| zsh-autosuggestions | |
| zsh-syntax-highlighting | |
| colored-man-pages | |
| command-not-found | |
| ) | |
| # Load Oh My Zsh (automatically sources all .zsh files in $ZSH/custom/) | |
| source $ZSH/oh-my-zsh.sh | |
| ################################################################# | |
| # π οΈ TOOL INTEGRATIONS | |
| ################################################################# | |
| # Google Cloud SDK | |
| if [[ -f '/home/trauco/google-cloud-sdk/path.zsh.inc' ]]; then | |
| source '/home/trauco/google-cloud-sdk/path.zsh.inc' | |
| fi | |
| if [[ -f '/home/trauco/google-cloud-sdk/completion.zsh.inc' ]]; then | |
| source '/home/trauco/google-cloud-sdk/completion.zsh.inc' | |
| fi | |
| ################################################################# | |
| # π UTILITY ALIASES | |
| ################################################################# | |
| # Quick reload | |
| alias reload-zsh='source ~/.zshrc && echo "β .zshrc reloaded!"' | |
| # Configuration editing | |
| alias edit-zshrc='$EDITOR ~/.zshrc' | |
| alias edit-custom='$EDITOR $ZSH/custom/' | |
| # List custom files (your .zsh modules) | |
| alias list-custom='echo "π¦ Custom .zsh files:" && ls -la $ZSH/custom/*.zsh 2>/dev/null || echo "No custom .zsh files found"' | |
| ################################################################# | |
| # π DONE | |
| ################################################################# | |
| # export PATH="$HOME/miniconda3/bin:$PATH" # commented out by conda initialize | |
| # >>> conda initialize >>> | |
| # !! Contents within this block are managed by 'conda init' !! | |
| __conda_setup="$('/home/trauco/miniconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)" | |
| if [ $? -eq 0 ]; then | |
| eval "$__conda_setup" | |
| else | |
| if [ -f "/home/trauco/miniconda3/etc/profile.d/conda.sh" ]; then | |
| . "/home/trauco/miniconda3/etc/profile.d/conda.sh" | |
| else | |
| export PATH="/home/trauco/miniconda3/bin:$PATH" | |
| fi | |
| fi | |
| unset __conda_setup | |
| # <<< conda initialize <<< | |
| unsetopt correct_all | |
| alias vlc-cap="vlc v4l2:///dev/video0" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment