Hints for zsh history expansion (!)
Requires: zsh 5.0 or later
Manual:
git clone https://github.com/DorukCem/bang_hints ~/bang_hints
# add the following line to your ~/.zshrc
source ~/bang_hints/bang-hints.plugin.zshOh-my-zsh:
git clone https://github.com/DorukCem/bang_hints ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/bang-hints
# Add the plugin to the list of plugins inside ~/.zshrc
plugins=(
# other plugins...
bang-hints
)As you type history expansion expressions with the ! operator you
will see hints on how you can use history expansion and its modifiers.
- Remove the code referencing this plugin from ~/.zshrc
- Remove the git repository from your hard drive
This project is licensed under the MIT License. See the LICENSE file for details.
