{"id":18789125,"url":"https://github.com/hmasdev/my-bash-alias","last_synced_at":"2025-12-25T23:30:12.427Z","repository":{"id":223145661,"uuid":"759427385","full_name":"hmasdev/my-bash-alias","owner":"hmasdev","description":"Simple aliases available in `bash`","archived":false,"fork":false,"pushed_at":"2024-10-28T13:13:01.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-29T14:34:50.524Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/hmasdev.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":"2024-02-18T15:12:55.000Z","updated_at":"2024-10-28T13:06:00.000Z","dependencies_parsed_at":"2024-02-22T10:25:16.091Z","dependency_job_id":"b3635cf5-7e7c-4195-b38f-b08f632530e8","html_url":"https://github.com/hmasdev/my-bash-alias","commit_stats":null,"previous_names":["hmasdev/my-bash-alias"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmasdev%2Fmy-bash-alias","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmasdev%2Fmy-bash-alias/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmasdev%2Fmy-bash-alias/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmasdev%2Fmy-bash-alias/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hmasdev","download_url":"https://codeload.github.com/hmasdev/my-bash-alias/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239709191,"owners_count":19684212,"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","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":[],"created_at":"2024-11-07T21:06:46.704Z","updated_at":"2025-12-25T23:30:12.386Z","avatar_url":"https://github.com/hmasdev.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# My Bash Alias\n\n![GitHub top language](https://img.shields.io/github/languages/top/hmasdev/my-bash-alias)\n![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/hmasdev/my-bash-alias?sort=semver)\n![GitHub](https://img.shields.io/github/license/hmasdev/my-bash-alias)\n![GitHub last commit](https://img.shields.io/github/last-commit/hmasdev/my-bash-alias)\n![Scheduled Test](https://github.com/hmasdev/my-bash-alias/actions/workflows/tests_on_schedule.yaml/badge.svg)\n\nSimple aliases available in `bash`\n\n## How to Use\n\n### Temporary Use\n\nIt is very simple to use `my-bash-alias` temporarily.\nJust download and run the `myalias.sh`.\n\nFor example,\n\n- Use `curl` to download, and run `myalias.sh`\n\n   ```bash\n   curl -o myalias.sh https://raw.githubusercontent.com/hmasdev/my-bash-alias/main/myalias.sh \u0026\u0026 . ./myalias.sh\n   ```\n\n- Use `git` to download the script\n\n   ```bash\n   git clone https://github.com/hmasdev/my-bash-alias.git \u0026\u0026 cd my-bash-alias \u0026\u0026 . ./myalias.sh\n   ```\n\n### Permanent Use\n\nIf you want to use permanently the aliases in `myalias.sh`,\ndownload the `myalias.sh` and add its content to `~/.bashrc`.\n\nFirst, you should follow [Temporary Use](#temporary-use).\nThen run the following command:\n\n```bash\nupdate_my_bash_alias\n```\n\n`update_my_bash_alias` writes [the latest version of `myalias.sh`](https://raw.githubusercontent.com/hmasdev/my-bash-alias/main/myalias.sh) into update `~/.bashrc`.\n\nNote that `update_my_bash_alias` uses 2 comments, `######StartMyBashAlias######` and `#####EndMyBashAlias######` to identify the section to update.\nSo you should NOT use these comments in `~/.bashrc`.\n\n## How to Contribute\n\n1. Fork the repository: [https://github.com/hmasdev/my-bash-alias](https://github.com/hmasdev/my-bash-alias);\n\n2. Clone the repository:\n\n   ```bash\n   git clone https://github.com/{YOURE_NAME}/my-bash-alias\n   cd my-bash-alias\n   ```\n\n3. Checkout your working branch:\n\n   ```bash\n   git checkout -b your-working-branch\n   ```\n\n4. Make your changes;\n\n5. Add tests for your changes. Note that the prefix of the test workspace should be \"test-\". See './tests/test_basic_alias.sh' as an example;\n\n6. Test your changes with the followings:\n\n   ```bash\n   for l in tests/*; do . $l; done\n   ```\n\n   Executing the above command in an isolated environment like `docker` is highly recommended;\n\n7. Commit your changes:\n\n   ```bash\n   git add .\n   git commit -m \"Your commit message\"\n   ```\n\n8. Push your changes:\n\n   ```bash\n   git push origin your-working-branch\n   ```\n\n9. Create a pull request: [https://github.com/hmasdev/my-bash-alias/compare](https://github.com/hmasdev/my-bash-alias/compare).\n\n## LICENSE\n\n- [MIT](./LICENSE)\n\n## Authors\n\n- [hmasdev](https://github.com/hmasdev)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhmasdev%2Fmy-bash-alias","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhmasdev%2Fmy-bash-alias","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhmasdev%2Fmy-bash-alias/lists"}