]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/commitdiff
add `octave` to darabase (#229)
authorSuren Lockwood <53460243+CheesyChocolate@users.noreply.github.com>
Wed, 29 Mar 2023 09:32:29 +0000 (09:32 +0000)
committerGitHub <noreply@github.com>
Wed, 29 Mar 2023 09:32:29 +0000 (11:32 +0200)
* added octave to supported programs

* the .octaverc file will not be auto generated by octave, but all the manuals point to making it in the home directory

* source: [Arch Wiki Xdg Base Directory](https://wiki.archlinux.org/title/XDG_Base_Directory#Partial)

* octave doesn't respect OCTAVE_HISTFILE varible

* octave respects XDG
* octave package mamanger by default will install packages in ~/.local/share/octave/api-v58/packages/

programs/octave.json [new file with mode: 0644]

diff --git a/programs/octave.json b/programs/octave.json
new file mode 100644 (file)
index 0000000..c204532
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "files": [
+        {
+            "help": "Export the following environment variables:\n\n```bash\nexport OCTAVE_SITE_INITFILE=\"$XDG_CONFIG_HOME/octave/octaverc\"\n```",
+            "movable": true,
+            "path": "$HOME/.octaverc"
+        }
+            ],
+    "name": "octave"
+}