Mercurial Hosting > editor
annotate scripts/install.sh @ 79:52cd37892cc9
elvish work
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Sat, 21 Jun 2025 13:42:32 -0600 |
| 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" |
