Files
MSYS2-packages/rlwrap/rlwrap.install
Rafael Kitover 1e4dfcbfd9 new package: rlwrap-0.43 (#1609)
This is a very useful little utility that gives you readline editing for
any program with a prompt, and it works perfectly for native windows
programs as well (e.g. rlwrap powershell works fine.)

Can be a nice alternative to winpty for some things.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2019-11-12 08:06:24 +03:00

20 lines
397 B
Bash

#!/bin/bash
post_install() {
cat <<EOF
Message for rlwrap $1:
Here is a nice configuration example for wrapping a command with rlwrap, the
command in this example being sqlplus, this would go into your ~/.bashrc:
alias sqlplus="rlwrap -i -f ~/.sqlplus_history -H ~/.sqlplus_history -s 30000 sqlplus --"
touch ~/.sqlplus_history
Enjoy!
EOF
}
post_upgrade() {
post_install $1
}