我很确定是与我的 Oh-my-zsh 配置相关的东西,但我不知道它是什么。
当我在 git 命令中使用“#”符号时(但也适用于其他所有命令,例如“ls #2”),我收到“错误模式”错误或“找不到匹配项”
我猜是要计算一些东西,但我找不到在哪里配置它。
I.E.
➜ demo git:(adlist) git push origin adlist#3
zsh: no matches found: adlist#3
or
➜ demo git:(adlist) git push origin #3-adlist
zsh: bad pattern: #3-adlist
使用单引号:
git push origin 'adlist#3'
git push origin #3-adlist
In zsh #
用于图案去除。看:http://zsh.sourceforge.net/Guide/zshguide05.html http://zsh.sourceforge.net/Guide/zshguide05.html在标题下标准形式:图案去除
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)