2021-12-28 16:06:50 +00:00
|
|
|
# Aliases cheatsheet
|
2021-06-12 02:43:24 +00:00
|
|
|
|
|
|
|
**Maintainer:** [@hqingyi](https://github.com/hqingyi)
|
|
|
|
|
|
|
|
With lots of 3rd-party amazing aliases installed, this plugin helps list the shortcuts
|
|
|
|
that are currently available based on the plugins you have enabled.
|
|
|
|
|
2021-12-28 16:06:50 +00:00
|
|
|
To use it, add `aliases` to the plugins array in your zshrc file:
|
2021-06-12 02:43:24 +00:00
|
|
|
|
2021-12-28 16:06:50 +00:00
|
|
|
```zsh
|
|
|
|
plugins=(aliases)
|
|
|
|
```
|
2021-06-12 02:43:24 +00:00
|
|
|
|
|
|
|
Requirements: Python needs to be installed.
|
|
|
|
|
2021-12-28 16:06:50 +00:00
|
|
|
## Usage
|
2021-06-12 02:43:24 +00:00
|
|
|
|
2021-12-28 16:06:50 +00:00
|
|
|
- `acs`: show all aliases by group.
|
|
|
|
|
2022-10-18 17:40:02 +00:00
|
|
|
- `acs -h/--help`: print help mesage.
|
|
|
|
|
2021-12-28 16:06:50 +00:00
|
|
|
- `acs <keyword>`: filter aliases by `<keyword>` and highlight.
|
|
|
|
|
2022-10-18 17:40:02 +00:00
|
|
|
- `acs -g <group>/--group <group`: show only aliases for group `<group>`. Multiple uses of the flag show all groups,
|
|
|
|
|
|
|
|
- `acs --groups-only`: show only group names
|
|
|
|
|
2021-12-28 16:06:50 +00:00
|
|
|
![screenshot](https://cloud.githubusercontent.com/assets/3602957/11581913/cb54fb8a-9a82-11e5-846b-5a67f67ad9ad.png)
|