mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
Add git-escape-magic plugin (#2847)
This commit is contained in:
parent
90a0de4698
commit
8634d9542a
3 changed files with 161 additions and 0 deletions
9
plugins/git-escape-magic/git-escape-magic.plugin.zsh
Normal file
9
plugins/git-escape-magic/git-escape-magic.plugin.zsh
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Automatically detect and escape zsh globbing meta-characters when used with
|
||||
# git refspec characters like `[^~{}]`. NOTE: This must be loaded _after_
|
||||
# url-quote-magic.
|
||||
#
|
||||
# This trick is detailed at https://github.com/knu/zsh-git-escape-magic and is
|
||||
# what allowed this plugin to exist.
|
||||
|
||||
autoload -Uz git-escape-magic
|
||||
git-escape-magic
|
||||
Loading…
Add table
Add a link
Reference in a new issue