{"id":15042429,"url":"https://github.com/magic/bash-alias","last_synced_at":"2025-04-14T20:51:45.657Z","repository":{"id":65858873,"uuid":"234662188","full_name":"magic/bash-alias","owner":"magic","description":" installs useful git, node, rust and @magic aliases.","archived":false,"fork":false,"pushed_at":"2024-10-29T16:58:47.000Z","size":685,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-28T09:04:22.903Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://magic.github.io/bash-alias/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/magic.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":"2020-01-18T00:55:47.000Z","updated_at":"2024-10-29T16:58:48.000Z","dependencies_parsed_at":"2023-05-12T03:00:27.468Z","dependency_job_id":null,"html_url":"https://github.com/magic/bash-alias","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magic%2Fbash-alias","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magic%2Fbash-alias/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magic%2Fbash-alias/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magic%2Fbash-alias/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magic","download_url":"https://codeload.github.com/magic/bash-alias/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248960951,"owners_count":21189990,"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-09-24T20:47:17.829Z","updated_at":"2025-04-14T20:51:45.628Z","avatar_url":"https://github.com/magic.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @magic/bash-alias\n\ninstalls useful git, node, rust, and [@magic](https://magic.github.io) aliases.\n\n**POLLUTES THE NAMESPACE OF YOUR BASH WITH ONE AND TWO LETTER COMMANDS.**\n\n_fortunately, the rest of the linux ecosystem seems to be smart enough not to do that too often._\n\n## known name clashes:\n\n- gs = [ghostscript](https://en.wikipedia.org/wiki/Ghostscript).\n- ll, la, l: exist on some operating systems. should be no change in behaviour though.\n\n## installation\n\n```bash\nnpm i -g @magic/bash-aliases\n```\n\n## aliases\n\nstrings in ${} are expected cli arguments\n\n### ls\n\n```bash\nll -\u003e ls -alF --color\nla -\u003e ls -A --color\nl  -\u003e ls -CF --color\n```\n\n### git\n\n```bash\nga   -\u003e git add ${...files}\ngaa  -\u003e git add --all\ngb   -\u003e git branch\ngbb  -\u003e git checkout -b ${name}\ngc   -\u003e git commit -m \"message string\" ${...files}\ngca  -\u003e git commit --amend\ngd   -\u003e git -c color.ui=always diff\ngl   -\u003e git -c color.ui=always log\ngp   -\u003e git push\ngps  -\u003e git push --set-upstream ${remote} ${branch}\ngr   -\u003e git remote -v\ngra  -\u003e git remote add ${name} ${url}\ngrr  -\u003e git remote remove ${name},\ngs   -\u003e git -c color.status=always status\ngt   -\u003e git tag -a '...ARGV' -m '...ARGV'\n```\n\n### git shortcuts\n\n```bash\ngcbump    -\u003e git commit -m 'version: bump' ./package.json ./package-lock.json\"\ngcdeps    -\u003e git commit -m 'deps: update' ./package.json ./package-lock.json\"\ngcdevdeps -\u003e git commit -m 'devdeps: update ' ./package.json ./package-lock.json\"\ngcdist    -\u003e git commit -m 'dist: update' ./dist\"\ngcdocs    -\u003e git commit -m 'docs: update' ./docs\"\ngclog     -\u003e git commit -m 'readme: update changelog' ./README.md\"\ngcread    -\u003e git commit -m 'readme: update' ./README.md\"\n```\n\n### node\n\n```bash\nnb  -\u003e npm run build\nnd  -\u003e npm run dev\nnf  -\u003e npm run format\nni  -\u003e npm install\nnp  -\u003e npm run prod\nnr  -\u003e npm run\nns  -\u003e npm start\nnt  -\u003e npm test\nnu  -\u003e npm update\n```\n\n### @magic\n\n```bash\nm   -\u003e magic dev\nmb  -\u003e magic build\nmc  -\u003e magic clean\nmd  -\u003e magic dev\nmp  -\u003e magic prod\nms  -\u003e magic serve\n```\n\n### rust\n\n```bash\ncb  -\u003e cargo build\ncch -\u003e cargo check\ncf  -\u003e cargo fmt -v\nci  -\u003e cargo install\ncr  -\u003e cargo run\nct  -\u003e cargo test\ncw  -\u003e cargo watch\ncwr -\u003e cargo watch -x run\n```\n\n### changelog\n\n#### 0.0.1\n\nfirst release\n\n#### 0.0.2\n\nadd colors to directory listings.\n\n#### 0.0.3\n\n- update git commit messages\n- fix docs\n\n#### 0.0.4\n\n- rename cc to cch to prevent name clash.\n- add gt =\u003e git tag -a $1 -m $1\n\n#### 0.0.5\n\nbump required node version to 14.2.0\n\n#### 0.0.6\n\n- bump required node version to 14.15.4\n- update dependencies\n\n##### 0.0.7\n\ngcdocs: \"git add docs\" before comitting\n\n##### 0.0.8\n\n- update dependencies\n- add nr -\u003e npm run, but do not alias it yet -.-\n\n##### 0.0.9\n\nactually add the nr bin alias to package.json\n\n##### 0.0.10\n\nupdate dependencies\n\n##### 0.0.11\n\n- rename package in readme header\n- update dev dependencies\n\n##### 0.0.12\n\n- add gcdist command, add nr command\n\n##### 0.0.13\n\n- update changelog\n- update devDependencies\n\n##### 0.0.14 - unreleased\n\n...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagic%2Fbash-alias","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagic%2Fbash-alias","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagic%2Fbash-alias/lists"}