https://github.com/nicolasschwarzer/shell-commands
Self Designed Convenient Shell Commands
https://github.com/nicolasschwarzer/shell-commands
convenient shell
Last synced: 2 months ago
JSON representation
Self Designed Convenient Shell Commands
- Host: GitHub
- URL: https://github.com/nicolasschwarzer/shell-commands
- Owner: NicolasSchwarzer
- Created: 2018-09-01T07:58:50.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-05-30T10:20:10.000Z (about 7 years ago)
- Last Synced: 2025-03-22T22:43:10.632Z (about 1 year ago)
- Topics: convenient, shell
- Language: Shell
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Self Designed Convenient Shell Commands
Excute this command will enable below convenient shell commands in your terminal: `$ ./link-commands.sh`
If you want to clear commands already linked, please excute this command: `$ ./clear-commands.sh`
## Commands
- `pkg`: `$ pkg ${packageName}`, open detail npm package website in your default browser, e.g. `$ pkg react`
- `cpkg`: `$ cpkg ${packageName}`, open detail taobao npm package website in your default browser, e.g. `$ cpkg react`
- `dpkg`: `$ dpkg ${packageName}`, open detail dxy npm package website in your default browser, e.g. `$ dpkg @dxy/dxy-analytics`
- `eslint-doc`: `$ eslint-doc ${ruleName}`, open eslint rule doc website in your default browser, e.g. `$ eslint-doc operator-linebreak`
- `tslint-doc`: `$ tslint-doc ${ruleName}`, open tslint rule doc website in your default browser, e.g. `$ tslint-doc no-parameter-reassignment`
- `dimg`: `$ dimg ${dockerImageName}`, open docker hub images' search result website in your default browser, e.g. `$ dimg node`
- `github`: `$ github ${repoName}`, open repository search result website in your default browser, e.g. `$github node`
- `stylelint-doc`: `$ stylelint-doc ${ruleName}`, open stylelint rule doc website in your default browser, e.g. `$ stylelint-doc selector-pseudo-class-no-unknown`
# Notice
- **Only for Mac & Linux**
- **Please make sure no duplicate shell script file or symbol link of file exists in the folder: `/usr/local/bin`**
# Appendix
- How to grant execution permission to a ssh file: `$ chmod 755 ${filePath}`