view scripts/install.sh @ 76:1beb4c57c269 default tip

monospaced sans-serif
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 18 Jun 2025 20:20:21 -0600
parents 99ebb6176d2f
children
line wrap: on
line source

#!/bin/bash
set -e

cd "$(dirname $0)"

mkdir -p /usr/local/bin

cat >/usr/local/bin/luan_editor <<End
#!/bin/bash

"$(pwd)/luan_editor.sh" "\$@"
End

chmod +x /usr/local/bin/luan_editor

echo "The command 'luan_editor' has been installed"