Atuin Plugin Quick Start
Get started with the Scarab Atuin plugin in 5 minutes.
Installation
1. Install Atuin
cargo install atuin2. Initialize Atuin
atuin init bash # or zsh, fish, etc.
source ~/.bashrc3. Import History
atuin import auto4. Start Scarab
scarabThat’s it! The plugin is automatically loaded.
Basic Usage
Search History
- Press
Ctrl+R - Type search term
- Use
↑/↓to navigate - Press
Enterto select - Press
Escto cancel
Example
$ # Press Ctrl+R
┌────────────────────────────────────┐
│ Atuin History Search │
│ ┌────────────────────────────────┐ │
│ │ Search: git___ │ │
│ └────────────────────────────────┘ │
│ │
│ > git commit -m "message" │
│ git push origin main │
│ git status │
│ │
│ 3 results • ↑↓ navigate • Enter │
└────────────────────────────────────┘
# Press Enter
$ git commit -m "message"█
Command Palette
Open command palette and search:
- Search Atuin History - Open search
- Sync Atuin History - Sync with cloud
- Show Command Statistics - View stats
Configuration (Optional)
# Copy default config
mkdir -p ~/.config/scarab/plugins
cp plugins/scarab-atuin/atuin.toml ~/.config/scarab/plugins/
# Edit
nano ~/.config/scarab/plugins/atuin.tomlAvailable options:
[atuin]
enabled = true # Enable plugin
max_results = 20 # Results limit
auto_sync = false # Auto-sync after commandsTroubleshooting
Plugin Not Loading
Check logs:
scarab --log-level debugNo Results
Import history:
atuin import autoAtuin Not Found
Install Atuin:
cargo install atuinNext Steps
- Read full documentation:
README.md - See usage examples:
USAGE_EXAMPLES.md - Run tests:
TESTING.md - Configure Atuin:
~/.config/atuin/config.toml
Common Workflows
Finding Recent Git Commands
# Ctrl+R → type "git" → navigate → EnterFinding Docker Commands
# Ctrl+R → type "docker" → navigate → EnterFinding Complex Commands
# Ctrl+R → type partial command → navigate → EnterTips
- Fuzzy search: Don’t need exact matches
- Directory aware: Filters by current directory (configurable)
- Quick exit: Press
Escto cancel - Edit before execute: Select command, then modify
- Cloud sync: Register account for backup
Resources
- Atuin docs: https://docs.atuin.sh
- Full README:
plugins/scarab-atuin/README.md - Testing guide:
plugins/scarab-atuin/TESTING.md - Usage examples:
plugins/scarab-atuin/USAGE_EXAMPLES.md
Need Help?
- Check
README.mdfor detailed documentation - Check
TESTING.mdfor troubleshooting - Check Scarab logs:
scarab --log-level debug - Check Atuin status:
atuin status - File an issue on GitHub