1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-24 17:33:39 +08:00
ohmyzsh/plugins/aliases/README.md
ZYX f42c965da4
fix(aliases): clarify how to pass in keywords to acs (#11521)
Co-authored-by: Marc Cornellà <hello@mcornella.com>
2023-02-27 20:39:38 +01:00

29 lines
804 B
Markdown

# Aliases cheatsheet
**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.
To use it, add `aliases` to the plugins array in your zshrc file:
```zsh
plugins=(aliases)
```
Requirements: Python needs to be installed.
## Usage
- `acs`: show all aliases by group
- `acs -h/--help`: print help mesage
- `acs <keyword(s)>`: filter and highlight aliases by `<keyword>`
- `acs -g <group>/--group <group>`: show only aliases for group `<group>`. Multiple uses of the flag show all groups
- `acs --groups`: show only group names
![screenshot](https://cloud.githubusercontent.com/assets/3602957/11581913/cb54fb8a-9a82-11e5-846b-5a67f67ad9ad.png)