docs: remove INITIALIZATION RITUAL section from README
This commit is contained in:
97
README.md
97
README.md
@@ -48,101 +48,6 @@
|
||||
|
||||
---
|
||||
|
||||
## 🔴 INITIALIZATION RITUAL 🔴
|
||||
|
||||
### **The `.init/` System - Your Shell's Dark Ceremony**
|
||||
|
||||
The `.init/` directory is the beating heart of this environment. When your shell awakens, it performs a sacred ritual through `~/.init/init.sh`, summoning power from these ancient scripts:
|
||||
|
||||
#### 🗡️ **THE SEVEN STAGES OF POWER**
|
||||
|
||||
```
|
||||
┌──────────────────────────────────────────────────────────────┐
|
||||
│ 1. PATH.SH │ Forges the PATH to all binaries │
|
||||
│ 2. EXPORT.SH │ Exports environment variables │
|
||||
│ 3. ALIAS.SH │ Summons command shortcuts │
|
||||
│ 4. SOURCE.SH │ Sources external power (nvm, cargo, etc) │
|
||||
│ 5. FUNCTIONS.SH │ Unleashes custom shell functions │
|
||||
│ 6. EVAL.SH │ Evaluates version managers (rbenv, etc) │
|
||||
│ 7. START.SH │ Executes startup commands (ssh-add) │
|
||||
└──────────────────────────────────────────────────────────────┘
|
||||
```
|
||||
|
||||
#### 📜 **DETAILED BREAKDOWN OF EACH SCRIPT**
|
||||
|
||||
##### **1️⃣ `path.sh` - The Path of Destruction**
|
||||
Adds all binary directories to your `$PATH`:
|
||||
- `~/bin` - Your personal executables
|
||||
- `~/.local/bin` - Local user binaries
|
||||
- `~/.rbenv/bin` - Ruby version manager
|
||||
- `~/.pyenv/bin` - Python version manager
|
||||
- `~/.cargo/bin` - Rust binaries
|
||||
- `~/go/bin` - Go binaries
|
||||
- `~/node_modules/.bin` - Node.js binaries
|
||||
- `~/.init/bin` - Custom init scripts
|
||||
- `~/Projects/kompose` - Kompose tooling
|
||||
|
||||
##### **2️⃣ `export.sh` - Environmental Warfare**
|
||||
```bash
|
||||
export NVM_DIR="$HOME/.nvm" # Node Version Manager home
|
||||
export REPOS_DIR="$HOME/repos" # Repository directory
|
||||
export CHORE_CHORE="chore: chore" # Default commit message
|
||||
```
|
||||
|
||||
##### **3️⃣ `alias.sh` - Command Line Sorcery**
|
||||
```bash
|
||||
ri # Reload init: source ~/.init/init.sh
|
||||
g0 # Git stage all and check if clean
|
||||
g1 # Git reset to single commit (nuclear option)
|
||||
g2 # Get last commit message
|
||||
rs # Rsync with sudo on remote
|
||||
ss # Serve static files on port 8000
|
||||
yt # Download YouTube as MP3
|
||||
```
|
||||
|
||||
##### **4️⃣ `source.sh` - External Power Summoning**
|
||||
Sources critical external scripts:
|
||||
- **NVM** - Node Version Manager (`$NVM_DIR/nvm.sh`)
|
||||
- **RVM** - Ruby Version Manager (commented out)
|
||||
- **Cargo** - Rust environment (`~/.cargo/env`)
|
||||
- **Bash completion** for NVM
|
||||
|
||||
##### **5️⃣ `functions.sh` - The Grimoire of Bash**
|
||||
Custom functions for deployment and media manipulation:
|
||||
|
||||
**Git Warfare:**
|
||||
- `_home_push` - Commit and push changes
|
||||
- `_home_pull` - Stash, pull, and pop changes
|
||||
|
||||
**Deployment Spells:**
|
||||
- `_site_deploy_jekyll <site>` - Build & deploy Jekyll site
|
||||
- `_site_deploy_nuxt <site>` - Build & deploy Nuxt site
|
||||
- `_site_deploy_static <site>` - Deploy static files
|
||||
|
||||
**Media Alchemy:**
|
||||
- `batch_file_sequence <prefix> <ext>` - Rename files with numbers
|
||||
- `batch_image_webp` - Convert all images to WebP
|
||||
- `batch_video_x264` - Convert videos to x264 codec
|
||||
- `_image_optimize <name>` - Full image optimization pipeline
|
||||
- `_video_optimize <file>` - Optimize video with ffmpeg
|
||||
|
||||
##### **6️⃣ `eval.sh` - Version Manager Invocation**
|
||||
Initializes version managers through `eval`:
|
||||
- **oh-my-posh** - Shell prompt theme engine
|
||||
- **rbenv** - Ruby version manager
|
||||
- **pyenv** - Python version manager
|
||||
|
||||
##### **7️⃣ `start.sh` - The Final Awakening**
|
||||
Executes startup commands:
|
||||
- `ssh-add` - Adds SSH keys to the agent silently
|
||||
|
||||
#### 🗂️ **Additional Directories**
|
||||
|
||||
- **`.init/bin/`** - Custom executable scripts (e.g., `mime_mp4_gif.sh`)
|
||||
- **`.init/hooks/`** - Reserved for shell hooks (currently empty)
|
||||
|
||||
---
|
||||
|
||||
## 🩸 QUICK START RITUAL 🩸
|
||||
|
||||
### **Summoning the Environment**
|
||||
@@ -477,4 +382,4 @@ Powered by Debian | Fueled by Metal
|
||||
|
||||
**[⚔️ BACK TO THE TOP ⚔️](#)**
|
||||
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user