最近在復(fù)制url的時候會自動轉(zhuǎn)義=成=,比如:http://www.reibang.com/p/41bb4569fd25?a=1&b=1
復(fù)制到iterm中會變成http://www.reibang.com/u/b68285daf6dd\?a\=1\&b\=2
每次都要手動刪掉峡继,很麻煩冬骚,其實是oh-my-zsh 的 feature 劈猿,不是 bug沮榜。可以通過下面方法進(jìn)行關(guān)掉:
vim ~/.oh-my-zsh/lib/misc.zsh
然后注釋掉:
if [[ $ZSH_VERSION != 5.1.1 ]]; then
for d in $fpath; do
if [[ -e "$d/url-quote-magic" ]]; then
if is-at-least 5.1; then
autoload -Uz bracketed-paste-magic
zle -N bracketed-paste bracketed-paste-magic
fi
autoload -Uz url-quote-magic
zle -N self-insert url-quote-magic
break
fi
done
fi