{"id":19004031,"url":"https://github.com/nomyfan/alias-rs","last_synced_at":"2026-02-28T13:31:38.524Z","repository":{"id":205124703,"uuid":"713322116","full_name":"nomyfan/alias-rs","owner":"nomyfan","description":"A utility to manage aliases across shells. 跨shell的命令别名管理工具。","archived":false,"fork":false,"pushed_at":"2024-04-19T11:58:50.000Z","size":21,"stargazers_count":13,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-22T18:35:19.960Z","etag":null,"topics":["alias","alias-management","aliases","bash","powershell","rust","rust-lang","unix-shell","zsh"],"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/nomyfan.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":"2023-11-02T09:37:30.000Z","updated_at":"2025-03-12T20:42:45.000Z","dependencies_parsed_at":"2023-11-21T05:27:33.442Z","dependency_job_id":"3331ed08-36bc-4243-baab-ad4bfc286388","html_url":"https://github.com/nomyfan/alias-rs","commit_stats":null,"previous_names":["nomyfan/alias-rs"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/nomyfan/alias-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nomyfan%2Falias-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nomyfan%2Falias-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nomyfan%2Falias-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nomyfan%2Falias-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nomyfan","download_url":"https://codeload.github.com/nomyfan/alias-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nomyfan%2Falias-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29935356,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T13:16:57.922Z","status":"ssl_error","status_checked_at":"2026-02-28T13:11:15.149Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["alias","alias-management","aliases","bash","powershell","rust","rust-lang","unix-shell","zsh"],"created_at":"2024-11-08T18:21:21.296Z","updated_at":"2026-02-28T13:31:38.494Z","avatar_url":"https://github.com/nomyfan.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# alias-rs\n\nA utility to manage aliases across shells.\n\n## Installation\n\n```\ncargo install --git https://github.com/nomyfan/alias-rs\n```\n\n## Usage\n\n### PowerShell\n\nAdd this into your `$PROFILE`.\n\n```pwsh\nInvoke-Expression (\u0026als init powershell | Out-String)\n```\n\n### zsh\n\nAdd this into your `.zshrc`.\n\n```shell\neval \"$(als init zsh)\"\n```\n\n### bash\n\nAdd this into your `.bashrc`.\n\n```shell\neval \"$(als init bash)\"\n```\n\n### fish\n\nAdd this into your `config.fish`.\n\n```shell\nals init fish | source\n```\n\n## Alias config\n\nPut a config file in `~/.config/alias.toml`.\n\n### Format\n\nAll aliases are defined in the `aliases` table, with alias name as key.\n\n### Example\n\n```toml\n[aliases]\n# pnpm\np = \"pnpm\"\npi = \"pnpm install\"\npa = \"pnpm add\"\npb = \"pnpm build\"\n# nvim\nvim = \"nvim\"\n\n[aliases.cls]\nzsh = \"clear\"\n\n[aliases.opengh]\nzsh = \"node $HOME/.ss/JavaScript/opengh.mjs\"\npowershell = \"node (Join-Path $HOME -ChildPath .ss -AdditionalChildPath JavaScript,opengh.mjs)\"\n\n[aliases.rmrf]\nzsh = \"rm -rf\"\npowershell = \"Remove-Item -Recurse -Force\"\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnomyfan%2Falias-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnomyfan%2Falias-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnomyfan%2Falias-rs/lists"}