Bashrc Alias Manager Toolkit is a modern, GUI-based Python application designed to simplify the management of bash aliases. The tool provides a user-friendly interface for creating, editing, organizing, and tracking your bash aliases, making terminal workflow optimization more accessible than ever.
- ✅ Intuitive Interface - Easy-to-use graphical interface built with Tkinter
- ✅ Full Alias Management - Create, edit, delete, and organize aliases in sections
- ✅ Search & Filter - Quickly find aliases by name, command, or description
- ✅ Section Organization - Group aliases by function or category
- ✅ Detailed Descriptions - Add helpful descriptions to remember what each alias does
- ✅ Import/Export - Share alias configurations between systems
- ✅ Backup System - Create backups of your .bashrc before making changes
- ✅ Undo/Redo - Safely experiment with changes using full undo/redo functionality
Before running the script, ensure you have the following installed:
- Python 3.x
- Tkinter (usually included with Python)
-
Clone the repository:
git clone https://github.com/saymonn37/Bashrc-Alias-Manager-Toolkit.git cd Bashrc-Alias-Manager-Toolkit -
Run the script:
python3 alias_manager_toolkit.py
- View Aliases - All your current bash aliases are displayed in the main table
- Create Alias - Click "New" and fill in the details in the form
- Edit Alias - Select an alias from the table and modify its properties
- Delete Alias - Select an alias and click "Delete" or press the Delete key
- Search - Type in the search box to filter aliases by name, command, or description
- Filter by Section - Use the dropdown to view aliases from a specific section
- Add Section - Create new organizational sections for your aliases
- Rename Section - Change the name of an existing section
- Delete Section - Remove empty sections (sections with aliases cannot be deleted)
- Backup .bashrc - Create timestamped backups of your .bashrc file
- Export Aliases - Save your aliases to a JSON file for sharing or backup
- Import Aliases - Load aliases from a previously exported JSON file
- Ctrl+N - Create new alias
- Ctrl+S - Save current alias
- Ctrl+Z - Undo last action
- Ctrl+Y - Redo last undone action
- Delete - Delete selected alias
- F5 - Refresh the application
The application is divided into two main panels:
- Search and Filter - Tools to quickly find specific aliases
- Alias List - Sortable table showing all aliases with their details
- Alias Details - Form for viewing and editing alias properties
- Action Buttons - Controls for creating, saving, and deleting aliases
- Section Management - Tools for organizing aliases into sections
- Backup and Import/Export - Options for saving and sharing configurations
- The application automatically detects and parses aliases from your .bashrc file
- Alias descriptions are stored in a separate JSON file for persistence
- The application creates automatic backups before making significant changes
- Settings like window size and column widths are saved between sessions
| Issue | Solution |
|---|---|
| Window size resets | Check if the application has write permissions to its directory |
| Aliases not appearing | Ensure your .bashrc follows the expected format with a "# CUSTOM ALIASES" section |
| Changes not taking effect | Remember to source your .bashrc file (source ~/.bashrc) after making changes |
| Import failing | Verify the JSON file was exported from a compatible version of this tool |
- Support for additional shell configurations (zsh, fish)
- Cloud synchronization for sharing aliases between systems
- Advanced regex search for finding complex commands
- Alias suggestion based on command history analysis
This project is open-source.
Developed by Saymonn
