当我尝试在 OSX 上清除终端屏幕时:
computer@ ~ () $ ^L
Run Code Online (Sandbox Code Playgroud)
当我击中Enter它时,它只显示:
-bash:
: command not found
Run Code Online (Sandbox Code Playgroud)
关于这是如何发生的任何想法?
我的.bash_profile
、.profile
和.bashrc
是空的。
我通常有一个~/.inputrc
放置以下绑定的位置
"\C-p":previous-history
"\C-n":next-history
"\C-a.":beginning-of-line
"\C-e.":end-of-line
"\C-l":clear-screen
Run Code Online (Sandbox Code Playgroud)