1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-30 22:54:13 +08:00
ohmyzsh/plugins/git-escape-magic/README.md

17 lines
783 B
Markdown
Raw Normal View History

2019-08-19 23:57:19 +08:00
# Git Escape Magic
This plugin is copied from the original at
https://github.com/knu/zsh-git-escape-magic. All credit for the
functionality enabled by this plugin should go to @knu.
An excerpt from that project's readme explains its purpose.
2019-08-19 23:57:19 +08:00
> It eliminates the need for manually escaping those meta-characters. The zle function it provides is context aware and recognizes the characteristics of each subcommand of git. Every time you type one of these meta-characters on a git command line, it automatically escapes the meta-character with a backslash as necessary and as appropriate.
2019-09-02 19:30:26 +08:00
## Usage
2019-08-19 23:57:19 +08:00
To use this plugin, add it to your list of plugins in your `.zshrc` file.
2019-08-19 23:57:19 +08:00
**NOTE**: If you use url-quote-magic, it must be included before this
2019-08-19 23:57:19 +08:00
plugin runs to prevent any conflicts.