2021-12-28 17:06:50 +01:00
|
|
|
# Aliases cheatsheet
|
2021-06-12 04:43:24 +02:00
|
|
|
|
|
|
|
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 17:06:50 +01:00
|
|
|
To use it, add `aliases` to the plugins array in your zshrc file:
|
2021-06-12 04:43:24 +02:00
|
|
|
|
2021-12-28 17:06:50 +01:00
|
|
|
```zsh
|
|
|
|
plugins=(aliases)
|
|
|
|
```
|
2021-06-12 04:43:24 +02:00
|
|
|
|
|
|
|
Requirements: Python needs to be installed.
|
|
|
|
|
2024-08-09 09:44:46 +02:00
|
|
|
**Maintainer:** [@hqingyi](https://github.com/hqingyi)
|
|
|
|
|
2021-12-28 17:06:50 +01:00
|
|
|
## Usage
|
2021-06-12 04:43:24 +02:00
|
|
|
|
2023-07-19 14:28:55 +02:00
|
|
|
- `als`: show all aliases by group
|
2021-12-28 17:06:50 +01:00
|
|
|
|
2023-10-12 10:32:48 +02:00
|
|
|
- `als -h/--help`: print help message
|
2022-10-18 19:40:02 +02:00
|
|
|
|
2023-07-19 14:28:55 +02:00
|
|
|
- `als <keyword(s)>`: filter and highlight aliases by `<keyword>`
|
2021-12-28 17:06:50 +01:00
|
|
|
|
2023-07-19 14:28:55 +02:00
|
|
|
- `als -g <group>/--group <group>`: show only aliases for group `<group>`. Multiple uses of the flag show all groups
|
2022-10-18 19:40:02 +02:00
|
|
|
|
2023-07-19 14:28:55 +02:00
|
|
|
- `als --groups`: show only group names
|
2022-10-18 19:40:02 +02:00
|
|
|
|
2023-08-10 15:39:40 +02:00
|
|
|
![screenshot](https://github.com/ohmyzsh/ohmyzsh/assets/66907184/5bfa00ea-5fc3-4e97-8b22-2f74f6b948c7)
|