我正在尝试使用下面的脚本,我收到此错误:
bash:csh.cshrc:第16行:语法错误:意外的文件结尾
我无法找到答案,任何帮助都会很棒,谢谢。
/etc/csh.cshrc: system-wide .cshrc file for csh(1) and tcsh(1)
if ($?tcsh && $?prompt) then
bindkey "\e[1~" beginning-of-line # Home
bindkey "\e[7~" beginning-of-line # Home rxvt
bindkey "\e[2~" overwrite-mode # Ins
bindkey "\e[3~" delete-char # Delete
bindkey "\e[4~" end-of-line # End
bindkey "\e[8~" end-of-line # End rxvt
set autoexpand
set autolist
set prompt = "%U%m%u:%B%~%b%# "
endif