An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          



Better Terminal Usage Banner

Better Terminal Usage


πŸš€ Transform your Linux terminal into a high-performance development environment


Features β€’
Quick Start β€’
Installation β€’
Architecture β€’
Wiki



Stars


Forks


Issues


License


Platform
Shell
Terminal
Prompt

---

## πŸ“Š 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



Star us on GitHub


Follow on GitHub


⬆️ Back to Top