{"id":25939237,"url":"https://github.com/axelvazslima/bashrc-alias-manager","last_synced_at":"2025-08-30T07:06:18.732Z","repository":{"id":279970330,"uuid":"940605590","full_name":"Axelvazslima/bashrc-alias-manager","owner":"Axelvazslima","description":"Unix .bashrc alias manager using Python.","archived":false,"fork":false,"pushed_at":"2025-02-28T13:29:28.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T19:42:30.649Z","etag":null,"topics":["python","python3","unix","unix-shell"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Axelvazslima.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-28T13:25:52.000Z","updated_at":"2025-02-28T13:30:51.000Z","dependencies_parsed_at":"2025-02-28T19:42:33.077Z","dependency_job_id":"f1de8d07-1870-405a-b8da-f96d5f5e7dae","html_url":"https://github.com/Axelvazslima/bashrc-alias-manager","commit_stats":null,"previous_names":["axelvazslima/bashrc-alias-manager"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Axelvazslima/bashrc-alias-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Axelvazslima%2Fbashrc-alias-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Axelvazslima%2Fbashrc-alias-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Axelvazslima%2Fbashrc-alias-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Axelvazslima%2Fbashrc-alias-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Axelvazslima","download_url":"https://codeload.github.com/Axelvazslima/bashrc-alias-manager/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Axelvazslima%2Fbashrc-alias-manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272816117,"owners_count":24997710,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","python3","unix","unix-shell"],"created_at":"2025-03-04T04:16:03.958Z","updated_at":"2025-08-30T07:06:18.706Z","avatar_url":"https://github.com/Axelvazslima.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Alias Manager\n\nAlias Manager is a Python script that helps you efficiently manage command-line aliases in your `~/.bashrc` file. It organizes aliases into groups (e.g., Git commands, Docker commands, etc.), preventing duplication and ensuring better readability by maintaining an auto-generated section.\n\n## Features\n\n- **Group-based Alias Management**: Adds aliases in categorized sections.\n- **Avoids Duplicates**: Ensures that existing aliases are not duplicated.\n- **Auto-Generated Section**: Keeps aliases structured under a dedicated marker.\n- **Interactive Menu**: Allows users to easily add, list, and create custom aliases.\n\n## Installation\n\n1. Clone this repository:\n   ```sh\n   git clone https://github.com/yourusername/alias-manager.git\n   cd alias-manager\n   ```\n\n2. Make sure you have Python installed (Python 3 recommended).\n\n3. Run the script:\n   ```sh\n   python3 alias_manager.py\n   ```\n\n## Usage\n\nWhen running the script, you will be presented with an interactive menu:\n\n1. **Add aliases from predefined groups**: Choose from main commands, Git commands, and Docker commands.\n2. **Create custom alias**: Define a new alias and command manually.\n3. **List all aliases**: View existing aliases in `~/.bashrc`.\n4. **Exit**: Quit the script.\n\n### Example Alias Groups\n\n#### Main Commands:\n```sh\nalias l='ls'\nalias cl='clear'\n```\n\n#### Git Commands:\n```sh\nalias gst='git status'\nalias ga='git add'\n```\n\n#### Docker Commands:\n```sh\nalias dps='docker ps'\nalias dc='docker container'\n```\n\n## How It Works\n\n- The script first checks for a special marker in `~/.bashrc`:\n  ```sh\n  -----AUTO GENERATED BY AV PYTHON SCRIPT -----\n  ```\n- If the marker doesn’t exist, it adds one.\n- When adding aliases, the script organizes them under sections like:\n  ```sh\n  -----MAIN COMMANDS-----\n  alias l='ls'\n  alias cl='clear'\n  ```\n- Custom aliases can be manually added through the menu.\n\n## Contributing\n\nIf you'd like to improve or extend this script, feel free to fork the repository and submit a pull request.\n\n## License\n\nThis project is open-source and available under the MIT License.\n\n## Author\n\nDeveloped by me.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxelvazslima%2Fbashrc-alias-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faxelvazslima%2Fbashrc-alias-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxelvazslima%2Fbashrc-alias-manager/lists"}