{"id":25957648,"url":"https://github.com/imnotzrus/abbr","last_synced_at":"2025-03-04T17:36:03.794Z","repository":{"id":278928531,"uuid":"937197858","full_name":"imnotzrus/abbr","owner":"imnotzrus","description":"A tool helps you abbreviate your command and its arguments, inspired by zoxide","archived":false,"fork":false,"pushed_at":"2025-02-22T15:18:34.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-22T16:24:58.122Z","etag":null,"topics":["cli","shell","tool","utility"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imnotzrus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-22T15:13:28.000Z","updated_at":"2025-02-22T15:18:37.000Z","dependencies_parsed_at":"2025-02-22T16:25:07.518Z","dependency_job_id":"a4f0a168-46e8-4394-9391-67411788b878","html_url":"https://github.com/imnotzrus/abbr","commit_stats":null,"previous_names":["imnotzrus/abbr"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imnotzrus%2Fabbr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imnotzrus%2Fabbr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imnotzrus%2Fabbr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imnotzrus%2Fabbr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imnotzrus","download_url":"https://codeload.github.com/imnotzrus/abbr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241890894,"owners_count":20037801,"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":["cli","shell","tool","utility"],"created_at":"2025-03-04T17:36:03.210Z","updated_at":"2025-03-04T17:36:03.780Z","avatar_url":"https://github.com/imnotzrus.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# Abbreviator\n\nA tool helps you abbreviate your command and its arguments, inspired by **zoxide**\n\nIt remembers which command you want to abbreviate,\njust like *alias* does but with its arguments in short also,\nin your own way.\n\n[Getting started](#getting-started) •\n[Installation](#installation) •\n[Configuration](#configuration)\n\n\u003c/div\u003e\n\n## Getting started\n\n```shell\nab ca a/3 serde tokio clap   # equivalents to `cargo add serde tokio clap` \nab dk cmp ud                 # equivalents to `docker compose up -d`\nab dk i l                    # equivalents to `docker image ls`\nab e \"hello world\"           # equivalents to `echo \"hello world\"`\nab gis                       # equivalents to `git status`\n```\n\n## Installation\n\n1. **Install binary**\n\n   abbr runs on most major platforms. If your platform is not listed below,\n   please [open an issue][issues].\n\n   \u003cdetails\u003e\n   \u003csummary\u003eLinux / WSL\u003c/summary\u003e\n\n   \u003e The recommended way to install abbr is via the installation script:\n   \u003e\n   \u003e ```shell\n   \u003e curl -sSfL https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | sh\n   \u003e ```\n\n   \u003c/details\u003e\n\n   \u003cdetails\u003e\n   \u003csummary\u003eMacOS\u003c/summary\u003e\n\n   \u003e Run this command in your terminal:\n   \u003e ```sh\n   \u003e curl -sSfL https://raw.githubusercontent.com/imnotzrus/abbr/main/install.sh | sh\n   \u003e ```\n\n   \u003c/details\u003e\n\n   \u003cdetails\u003e\n   \u003csummary\u003eWindows\u003c/summary\u003e\n\n   \u003e If you're using Cygwin, Git Bash, or MSYS2, you can also use the install script:\n   \u003e\n   \u003e ```sh\n   \u003e curl -sSfL https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | sh\n   \u003e ```\n\n   \u003c/details\u003e\n\n   \u003cdetails\u003e\n   \u003csummary\u003eAndroid\u003c/summary\u003e\n\n   \u003e Run this command in your terminal:\n   \u003e ```sh\n   \u003e curl -sS https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | bash\n   \u003e ```\n\n   \u003c/details\u003e\n\n2. **Setup abbr on your shell**\n   To start using abbr, add it to your shell.\n\n   \u003cdetails\u003e\n   \u003csummary\u003eBash\u003c/summary\u003e\n\n   \u003e Add this to the \u003cins\u003e**end**\u003c/ins\u003e of your config file (usually `~/.bashrc`):\n   \u003e\n   \u003e ```sh\n   \u003e eval \"$(zoxide init bash)\"\n   \u003e ```\n\n   \u003c/details\u003e\n\n   \u003cdetails\u003e\n   \u003csummary\u003eZsh\u003c/summary\u003e\n\n   \u003e Add this to the \u003cins\u003e**end**\u003c/ins\u003e of your config file (usually `~/.zshrc`):\n   \u003e\n   \u003e ```sh\n   \u003e eval \"$(zoxide init zsh)\"\n   \u003e ```\n\n   \u003c/details\u003e\n\n\u003c!-- 3. Install fzf \u003csup\u003e(optional)\u003c/sup\u003e (not yet supported) --\u003e\n\n## Configuration\n\n### Flags\n\nWhen calling `abbr init`, the following flag is available: `--alias`\n\n- Change prefix of `abbr` command.\n- `--alias aa` will change the command to `aa`.\n\n### Environment variables\n\nEnvironment variable `_ABBR_DATA_DIR` can be used for configuration. They must be set before\n`abbr init` is called.\n\n- Specifies the directory in which the database is stored.\n- The default value varies across OSes:\n\n| OS          | Path                                     | Example                                    |\n|-------------|------------------------------------------|--------------------------------------------|\n| Linux / BSD | `$XDG_DATA_HOME` or `$HOME/.local/share` | `/home/alice/.local/share`                 |\n| macOS       | `$HOME/Library/Application Support`      | `/Users/Alice/Library/Application Support` |\n| Windows     | `%LOCALAPPDATA%`                         | `C:\\Users\\Alice\\AppData\\Local`             |\n\n[issues]: https://github.com/imnotzrus/abbr/issues/new","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimnotzrus%2Fabbr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimnotzrus%2Fabbr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimnotzrus%2Fabbr/lists"}