Mercurial Hosting > editor
annotate scripts/install.sh @ 81:a873ccf6d4cd
elvish
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Mon, 23 Jun 2025 03:45:13 -0600 (4 months ago) |
| parents | 99ebb6176d2f |
| children |
| rev | line source |
|---|---|
| 50 | 1 #!/bin/bash |
| 2 set -e | |
| 3 | |
| 60 | 4 cd "$(dirname $0)" |
| 50 | 5 |
| 6 mkdir -p /usr/local/bin | |
| 7 | |
| 8 cat >/usr/local/bin/luan_editor <<End | |
| 9 #!/bin/bash | |
| 10 | |
| 71 | 11 "$(pwd)/luan_editor.sh" "\$@" |
| 65 | 12 End |
| 50 | 13 |
| 14 chmod +x /usr/local/bin/luan_editor | |
| 15 | |
| 65 | 16 echo "The command 'luan_editor' has been installed" |
