[Oracle]MacOS sqlplus上下选择命令
- 安装插件
brew install rlwrap
- 添加环境变量
cat >> ~/.bash_profile <<'EOF'
alias sqlplus='rlwrap sqlplus'
alias rman='rlwrap rman'
EOF
- 环境变量生效
source ~/.bash_profile
brew install rlwrap
cat >> ~/.bash_profile <<'EOF'
alias sqlplus='rlwrap sqlplus'
alias rman='rlwrap rman'
EOF
source ~/.bash_profile