Mercurial Hosting > editor
changeset 51:32631fdbbdf1 default tip
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 24 May 2025 11:31:09 -0600 |
parents | c433b19a8dfa |
children | |
files | .hgignore copy_me.sh luan_editor.sh scripts/install.sh |
diffstat | 4 files changed, 2 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgignore Sat May 24 10:01:57 2025 -0600 +++ b/.hgignore Sat May 24 11:31:09 2025 -0600 @@ -4,3 +4,4 @@ err Makefile build/ +*.class
--- a/copy_me.sh Sat May 24 10:01:57 2025 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,6 +0,0 @@ -#!/bin/bash -# Copy this to somewhere in your PATH, rename to something reasonable like "le", and change EDITOR_HOME here as needed. - -EDITOR_HOME=~/hg/editor - -$EDITOR_HOME/luan_editor.sh "$@"
--- a/luan_editor.sh Sat May 24 10:01:57 2025 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -#!/bin/bash - -EDITOR_HOME=`dirname $0` - -export DICTIONARIES=$EDITOR_HOME/dictionaries/ - -. luan string: -CLASSPATH=$CLASSPATH:$EDITOR_HOME/lib/jortho.jar:$EDITOR_HOME/src - -set +m - -java -Xdock:name="Luan Editor" -classpath $CLASSPATH luan.Luan classpath:luan_editor/editor.luan "$@" 2>&1 | grep --line-buffered -v 'NSRemoteView\|NSSavePanel' &
--- a/scripts/install.sh Sat May 24 10:01:57 2025 -0600 +++ b/scripts/install.sh Sat May 24 11:31:09 2025 -0600 @@ -16,7 +16,7 @@ set +m -java -Xdock:name="Luan Editor" -classpath $CLASSPATH luan.Luan classpath:luan_editor/editor.luan "$@" 2>&1 | grep --line-buffered -v 'NSRemoteView\|NSSavePanel' & +java -Xdock:name="Luan Editor" -classpath \$CLASSPATH luan.Luan classpath:luan_editor/editor.luan "\$@" 2>&1 | grep --line-buffered -v 'NSRemoteView\|NSSavePanel' & End chmod +x /usr/local/bin/luan_editor