summarylogtreecommitdiffstats
path: root/rlwrap-shim
blob: c93ad00b05c91185e6c109b5a8b9b5481df6dbac (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
pkgdir=/usr/share/cbqn-git

if command -v 'rlwrap' >/dev/null; then
  INPUTRC="${pkgdir}/inputrc" rlwrap "${pkgdir}/BQN" "$@"
else
  "${pkgdir}/BQN" "$@"
fi