From: dosisod <39638017+dosisod@users.noreply.github.com> Date: Wed, 28 Jun 2023 01:12:51 +0000 (-0700) Subject: Improve GDB recommendation: X-Git-Tag: v0.2.0.2~40^2 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/xdg-ninja.git/commitdiff_plain/0a8c0e414db851b447b7be4d9bfd26bb9e9c1811 Improve GDB recommendation: The previous suggestion was to use an alias and specify the config path directly, though GDB supports XDG paths according to the man pages. I don't know what version XDG support was added, or if it has been there all along. I'm currently using GDB version 13.1 --- diff --git a/programs/gdb.json b/programs/gdb.json index 0f066a8..d9121d2 100644 --- a/programs/gdb.json +++ b/programs/gdb.json @@ -4,7 +4,7 @@ { "path": "$HOME/.gdbinit", "movable": true, - "help": "Alias gdb to use custom locations:\n\n```bash\nalias gdb=gdb -n -x $XDG_CONFIG_HOME/gdb/init```\n" + "help": "XDG is supported out-of-the-box, so you can simply move the file to _$XDG_CONFIG_HOME/gdb/gdbinit_.\n" }, { "path": "$HOME/.gdb_history",