安装插件 brew install rlwrap 添加环境变量 cat >> ~/.bash_profile <<'EOF' alias sqlplus='rlwrap sqlplus' alias rman='rlwrap rman' EOF 环境变量生效 source ~/.bash_profile END 来源:https://www.cnblogs.com/leoshi/p/12551628.html 标签 lpl