mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-10 04:26:17 +02:00
strip('\'"\n ') was stripping double quotes from both ends of the alias
value, so an alias like now='date +"%T"' was displayed as `date +"%T`
(missing the closing double quote). Fix by stripping only outer matching
quote pairs rather than all quote characters from both ends.
Fixes #13637
|
||
|---|---|---|
| .. | ||
| tests | ||
| .gitignore | ||
| aliases.plugin.zsh | ||
| cheatsheet.py | ||
| README.md | ||
| termcolor.py | ||
Aliases cheatsheet
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:
plugins=(aliases)
Requirements: Python needs to be installed.
Maintainer: @hqingyi