A lightweight CLI tool to manage your shell aliases efficiently
- ✨ Create and update aliases with a simple command
- 🗑️ Remove aliases safely (with confirmation)
- 📋 List all your aliases
- 🔍 Search aliases by pattern
- 💪 Works with any POSIX-compliant shell (bash, zsh, fish)
# Clone the repository
git clone https://github.com/kazetachinuu/alias_manager.git
# Navigate to the directory
cd alias_manager
# Build and install
make
sudo make install
# Add to your shell configuration
echo '[[ -f ~/.my_aliases.txt ]] && source ~/.my_aliases.txt' >> ~/.bashrc # For bash
# OR
echo '[[ -f ~/.my_aliases.txt ]] && source ~/.my_aliases.txt' >> ~/.zshrc # For zsh
Coming soon...
# Create a new alias
am add gl git log --oneline --graph
# List all aliases
am ls
# Search for git-related aliases
am ls git
# Remove an alias (with confirmation)
am rm gl
# Remove an alias (force)
am rm gl -f
# Show help
am help
Command | Description | Example |
---|---|---|
add <name> <command...> |
Create or update an alias | am add gc git commit -m |
rm <name> [-f] |
Remove an alias | am rm gc |
ls [pattern] |
List all aliases or filter by pattern | am ls git |
help |
Show help message | am help |
version |
Show version | am version |
This project is licensed under the MIT License - see the LICENSE file for details.
- Add package manager support (apt, brew, etc.)
- Add alias backup/restore functionality
- Add shell completion scripts
- Support for alias categories/groups