原因是zsh的外掛出問題了,解法方法如下:
把 ~/.oh-my-zsh/lib/misc.zsh 檔案中的第一段 if 註釋掉 OK 啦
# 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
出處:https://www.v2ex.com/t/262240
http://stackoverflow.com/questions/25614613/how-to-disable-autocomplete-with-backslak-in-zsh