{"id":16513277,"url":"https://github.com/benavern/z-alias","last_synced_at":"2025-10-28T04:32:21.108Z","repository":{"id":42854275,"uuid":"260938178","full_name":"benavern/z-alias","owner":"benavern","description":"Edit your bash aliases the funny way","archived":false,"fork":false,"pushed_at":"2023-01-06T04:53:57.000Z","size":469,"stargazers_count":4,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-09T22:51:32.190Z","etag":null,"topics":["alias","bash","cli"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/benavern.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}},"created_at":"2020-05-03T14:12:03.000Z","updated_at":"2023-05-23T00:32:51.000Z","dependencies_parsed_at":"2023-02-05T09:00:40.329Z","dependency_job_id":null,"html_url":"https://github.com/benavern/z-alias","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benavern%2Fz-alias","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benavern%2Fz-alias/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benavern%2Fz-alias/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benavern%2Fz-alias/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benavern","download_url":"https://codeload.github.com/benavern/z-alias/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219860169,"owners_count":16556026,"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":["alias","bash","cli"],"created_at":"2024-10-11T16:08:23.886Z","updated_at":"2025-10-28T04:32:14.905Z","avatar_url":"https://github.com/benavern.png","language":"JavaScript","readme":"# Z-ALIAS\n\n\u003e Edit your bash aliases the funny way\n\n[![npm](https://img.shields.io/npm/v/z-alias?style=for-the-badge)](https://www.npmjs.com/package/z-alias)\n\n## About\n\nThis project provides an easy solution for using **aliases** from your command line. `z-alias` solves the hassle of remembering how to create / edit / delete your aliases.\n\n## Install\n\n```bash\nnpm i -g z-alias\n```\n\n## Usage\n\n```bash\nz-alias -h\n```\n\n```\n  Usage:\n    $ z-alias [options] [arguments]\n\n    Options:\n    --list, -l    List all aliases\n    --open, -o    Open aliases file in your favorite editor\n    --search, -s  Search in aliases\n    --add, -a     Add an alias\n    --edit, -e    Edit an alias\n    --remove, -r  Remove an alias\n\n    --help, -h    Display help\n    --version, -v Print z-alias version\n\n  Examples:\n    $ z-alias -l\n    $ z-alias -o\n    $ z-alias -s [\u003csearchTerm\u003e \u003csearchTerm2\u003e ...]\n    $ z-alias -a [\u003caliasName\u003e \"\u003caliasCommand\u003e\"]\n    $ z-alias -e [\u003caliasName\u003e \"\u003caliasCommand\u003e\"]\n    $ z-alias -r [\u003caliasName\u003e \u003caliasName2\u003e ...]\n\n  Configuration:  \n    * To change the path of the aliases file, paste and adapt this line\n      at the end of your .bashrc file.\n\n      export Z_ALIAS_FILE=~/.bash_aliases\n  \n    * To make your aliases available in all new shells paste this line\n      at the end of your .bashrc file (adapt if above line has been added).\n\n      if [ -f ~/.bash_aliases ]; then source ~/.bash_aliases; fi\n```\n\n## Config\n\nIn your `~/.bashrc`, `~/.zshrc`, ...\n\n### Change aliases file path\n\nIf not set, defaults to : `~/.bash_aliases`\n\n\n```\n# Change aliases file path\nexport Z_ALIAS_FILE=\"/path/to/aliases\"\n```\n\n### Make your aliases available on all shells\n\nAdd that block at the end or your `.bashrc` or `.zshrc` file.\n\n```\n# Make aliases available\nif [ -f ~/.bash_aliases ]; then source ~/.bash_aliases; fi\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenavern%2Fz-alias","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenavern%2Fz-alias","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenavern%2Fz-alias/lists"}