修改 zshrc 文件,追加一下信息 bindkey '\e[1~' beginning-of-line bindkey '\e[4~' end-of-line http://stackoverflow.com/ques...