Matěj Cepl
unread,Jan 12, 2025, 9:26:40 AMJan 12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to plan9p...@googlegroups.com, Matěj Cepl
Instead of letting them float between various distribution
repositories, these files should be upstream. `plan9.sh` needs to
be modified so that PLAN9 variable points to the real location of
Plan 9 directory.
---
dist/acme.desktop | 10 ++++++++++
dist/acme.sh | 3 +++
dist/plan9.sh | 4 ++++
3 files changed, 17 insertions(+)
create mode 100644 dist/acme.desktop
create mode 100644 dist/acme.sh
create mode 100644 dist/plan9.sh
diff --git a/dist/acme.desktop b/dist/acme.desktop
new file mode 100644
index 00000000..43e63853
--- /dev/null
+++ b/dist/acme.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Name=Acme
+GenericName=Editor
+Comment=Editor from Plan9
+Exec=acme
+Icon=acme
+Terminal=false
+StartupNotify=false
+Categories=Development;TextEditor
diff --git a/dist/acme.sh b/dist/acme.sh
new file mode 100644
index 00000000..f3f8dd98
--- /dev/null
+++ b/dist/acme.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+. /etc/profile.d/plan9.sh
+9 acme "$@"
diff --git a/dist/plan9.sh b/dist/plan9.sh
new file mode 100644
index 00000000..0cce7dc8
--- /dev/null
+++ b/dist/plan9.sh
@@ -0,0 +1,4 @@
+export PLAN9=/usr/lib/plan9
+export PATH=$PATH:$PLAN9/bin
+export ROOTPATH=$ROOTPATH:$PLAN9/bin
+export MANPATH=$MANPATH:$PLAN9/man
--
2.47.1