@tnqai/alim
v2.0.0
Published
A simple and elegant alias manager for your shell
Maintainers
Readme
alim
A simple and elegant alias manager for your shell.
Features
- 📦 Organize aliases by category (git, docker, system, npm, misc)
- 🔍 Search aliases by name or command
- 💾 Export/import aliases as JSON
- 🎯 Auto-configure shell (bash/zsh)
- 🚀 Simple CLI interface
Installation
npm install -g alimUsage
# List all aliases
alm list
# List aliases by category
alm list git
# Add a new alias
alm add gst "git status" git
# Search aliases
alm find push
# Remove an alias
alm remove gst
# Show categories
alm categories
# Export aliases
alm export backup.json
# Import aliases
alm import backup.jsonCategories
git- Git-related aliasesdocker- Docker commandssystem- System utilitiesnpm- NPM/Node.js commandsmisc- Miscellaneous aliases
How it works
alim stores your aliases in ~/.aliases/ directory, organized by category. It automatically adds source commands to your shell config file (.bashrc or .zshrc).
After adding or removing aliases, run:
source ~/.bashrc # or ~/.zshrcLicense
MIT
