1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-30 06:03:40 +08:00
ohmyzsh/plugins/aliases/README.md

29 lines
804 B
Markdown
Raw Normal View History

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