https://github.com/rldyourmnd/rld-better-terminal-ai-usage
π Transform your Linux terminal into a high-performance development environment. 30x faster shell, GPU-accelerated terminal, modern CLI tools.
https://github.com/rldyourmnd/rld-better-terminal-ai-usage
cli command-line configuration developer-tools dotfiles fish-shell git github-cli linux optimization performance productivity rust shell starship terminal terminal-setup ubuntu wezterm
Last synced: 5 months ago
JSON representation
π Transform your Linux terminal into a high-performance development environment. 30x faster shell, GPU-accelerated terminal, modern CLI tools.
- Host: GitHub
- URL: https://github.com/rldyourmnd/rld-better-terminal-ai-usage
- Owner: rldyourmnd
- License: mit
- Created: 2026-02-21T10:20:04.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2026-02-21T20:30:40.000Z (5 months ago)
- Last Synced: 2026-02-22T00:02:34.882Z (5 months ago)
- Topics: cli, command-line, configuration, developer-tools, dotfiles, fish-shell, git, github-cli, linux, optimization, performance, productivity, rust, shell, starship, terminal, terminal-setup, ubuntu, wezterm
- Language: Shell
- Homepage: https://github.com/rldyourmnd/rld-better-terminal-ai-usage/wiki
- Size: 141 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
Better Terminal Usage
π Transform your Linux terminal into a high-performance development environment
Features β’
Quick Start β’
Installation β’
Architecture β’
Wiki
---
## π Performance Benchmarks
| Metric | Before | After | Improvement |
|:------:|:------:|:-----:|:-----------:|
| Shell startup | 915ms | **30ms** | π **30x faster** |
| Terminal startup | 300-500ms | **50-80ms** | π **6x faster** |
| Input latency | ~50ms | **<5ms** | π **10x faster** |
| File search | grep | **ripgrep** | π **10x+ faster** |
## β¨ Features
### π― **30x Faster Shell**
Replace bloated configs with optimized Fish + Starship setup achieving ~30ms startup.
### π₯οΈ **GPU-Accelerated Terminal**
WezTerm with WebGPU/Vulkan rendering for butter-smooth scrolling and rendering.
### π **Semantic Code Search**
grepai finds code by meaning, not just text. Perfect for exploring unfamiliar codebases.
### π¦ **Modern Package Managers**
uv for Python (100x faster than pip), bun for JavaScript (10x faster than npm).
### π³ **Visual Git Workflow**
lazygit + delta for beautiful diffs and intuitive staging/commits.
### π **Security Analysis**
semgrep for static analysis, protecting your code from vulnerabilities.
## ποΈ Architecture
```
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
β LAYER 4: CODE INTELLIGENCE β
β grepai (88.4) β’ ast-grep (78.7) β’ probe β’ semgrep β’ ctags β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β LAYER 3: GITHUB & GIT β
β gh CLI (83.2) β’ lazygit β’ delta β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β LAYER 2: PRODUCTIVITY β
β fzf β’ zoxide β’ Atuin β’ uv (91.4) β’ bun (85) β’ watchexec β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β LAYER 1: FILE OPERATIONS β
β bat (91.8) β’ fd (86.1) β’ rg (81) β’ sd (90.8) β’ jq β’ yq β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β FOUNDATION β
β WezTerm + Fish + Starship β
β WebGPU/Vulkan β’ ~30ms startup β’ <5ms latency β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
```
## π Quick Start
```bash
# Clone the repository
git clone https://github.com/rldyourmnd/rld-better-terminal-ai-usage.git
cd better-terminal-usage
# Run the installer
./scripts/install.sh
# Restart your shell
exec fish
```
That's it! Your terminal is now optimized. π
## π¦ Installation
### Option 1: Full Installation
```bash
./scripts/install.sh
```
### Option 2: Layer by Layer
```bash
# Foundation: Terminal + Shell + Prompt
./scripts/install-foundation.sh
# Layer 1: File Operations (bat, fd, rg, sd, jq, yq, eza)
./scripts/install-layer-1.sh
# Layer 2: Productivity (fzf, zoxide, atuin, uv, bun, watchexec, glow, bottom)
./scripts/install-layer-2.sh
# Layer 3: GitHub & Git (gh CLI, lazygit, delta)
./scripts/install-layer-3.sh
# Layer 4: Code Intelligence (grepai, ast-grep, probe, semgrep, ctags, tokei)
./scripts/install-layer-4.sh
```
### Prerequisites
- **OS**: Ubuntu/Debian (apt-based Linux)
- **Permissions**: sudo access for system packages
- **Internet**: Required for downloading tools
π Detailed Tool List
### Foundation
| Tool | Description |
|------|-------------|
| [WezTerm](https://wezfurlong.org/wezterm/) | GPU-accelerated terminal with multiplexer |
| [Fish](https://fishshell.com/) | Friendly interactive shell |
| [Starship](https://starship.rs/) | Cross-shell prompt |
### Layer 1: File Operations
| Tool | Replaces | Score | Description |
|------|----------|-------|-------------|
| [bat](https://github.com/sharkdp/bat) | cat | 91.8 | cat with syntax highlighting |
| [fd](https://github.com/sharkdp/fd) | find | 86.1 | fast file finder |
| [ripgrep](https://github.com/BurntSushi/ripgrep) | grep | 81.0 | fast text search |
| [sd](https://github.com/chmln/sd) | sed | 90.8 | intuitive sed replacement |
| [jq](https://stedolan.github.io/jq/) | - | 85.7 | JSON processor |
| [yq](https://github.com/mikefarah/yq) | - | 96.4 | YAML/JSON/XML processor |
| [eza](https://github.com/eza-community/eza) | ls | - | modern ls replacement |
### Layer 2: Productivity
| Tool | Score | Description |
|------|-------|-------------|
| [fzf](https://github.com/junegunn/fzf) | 88.7 | Fuzzy finder |
| [zoxide](https://github.com/ajeetdsouza/zoxide) | 95.5 | Smart cd command |
| [Atuin](https://atuin.sh/) | 68.5 | Synced shell history |
| [uv](https://docs.astral.sh/uv/) | 91.4 | Fast Python package manager |
| [bun](https://bun.sh/) | 85.0 | Fast JavaScript runtime |
| [watchexec](https://watchexec.github.io/) | - | File watcher |
| [glow](https://github.com/charmbracelet/glow) | 76.1 | Markdown renderer |
| [bottom](https://github.com/ClementTsang/bottom) | - | System monitor |
### Layer 3: GitHub & Git
| Tool | Score | Description |
|------|-------|-------------|
| [gh CLI](https://cli.github.com/) | 83.2 | GitHub in terminal |
| [lazygit](https://github.com/jesseduffield/lazygit) | - | Git TUI |
| [delta](https://github.com/dandavison/delta) | - | Beautiful diffs |
### Layer 4: Code Intelligence
| Tool | Score | Description |
|------|-------|-------------|
| [grepai](https://github.com/yoanbernabeu/grepai) | 88.4 | Semantic code search |
| [ast-grep](https://ast-grep.github.io/) | 78.7 | AST-based search/rewrite |
| [probe](https://github.com/buger/probe) | - | Code extraction |
| [semgrep](https://semgrep.dev/) | 70.4 | Security analysis |
| [ctags](https://ctags.io/) | - | Code indexing |
| [tokei](https://github.com/XAMPPRocky/tokei) | - | Code statistics |
## π Usage Examples
### File Operations
```bash
# View file with syntax highlighting
bat src/main.rs
# Find files quickly
fd -e rs -x wc -l {}
# Search in files (respects .gitignore)
rg "fn main" --type rust
# Replace text with sd
sd 'old_name' 'new_name' src/**/*.rs
```
### Productivity
```bash
# Fuzzy find files and edit
vim $(fzf --preview 'bat --color=always {}')
# Smart directory navigation
z myproject # Jump to frequently used directory
# Run command on file changes
watchexec -e rs cargo test
```
### Git & GitHub
```bash
# Visual git interface
lazygit
# Create PR from CLI
gh pr create --title "Feature" --body "Description"
# Beautiful diff
git diff | delta
```
### Code Intelligence
```bash
# Semantic code search
grepai search "authentication flow"
# AST-based structural search
sg -p 'fn $NAME($$$PARAMS) $$$BODY' -l rust
# Security scan
semgrep --config auto .
```
## π Project Structure
```
better-terminal-usage/
βββ π README.md # You are here
βββ π LICENSE # MIT License
βββ π€ CONTRIBUTING.md # Contribution guidelines
βββ π CHANGELOG.md # Version history
βββ π configs/ # Configuration files
β βββ fish/config.fish # Fish shell config
β βββ starship/starship.toml # Starship prompt config
β βββ wezterm/wezterm.lua # WezTerm terminal config
βββ π docs/ # Documentation
β βββ layers/ # Layer-specific docs
β βββ foundation/ # Foundation docs
βββ π scripts/ # Installation scripts
β βββ install.sh # Main installer
β βββ install-foundation.sh # Foundation installer
β βββ install-layer-*.sh # Layer installers
βββ π context/ # Research & benchmarks
```
## π€ Contributing
Contributions are welcome! Please read our [Contributing Guide](CONTRIBUTING.md) for details.
### Ways to Contribute
- π **Report bugs** via [Issues](https://github.com/rldyourmnd/rld-better-terminal-ai-usage/issues)
- π‘ **Suggest features** via [Discussions](https://github.com/rldyourmnd/rld-better-terminal-ai-usage/discussions)
- π **Improve documentation**
- π§ **Submit pull requests**
## πΊοΈ Roadmap
- [ ] macOS support
- [ ] Nix/NixOS configuration
- [ ] Ansible playbook
- [ ] Docker container with pre-configured environment
- [ ] Video tutorials
## π License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## π Acknowledgments
- [WezTerm](https://wezfurlong.org/wezterm/) - Amazing terminal emulator
- [Fish Shell](https://fishshell.com/) - User-friendly shell
- [Starship](https://starship.rs/) - Beautiful cross-shell prompt
- All the amazing CLI tools that make this possible
---
Made with β€οΈ for developers who love fast terminals