From 0a8c0e414db851b447b7be4d9bfd26bb9e9c1811 Mon Sep 17 00:00:00 2001 From: dosisod <39638017+dosisod@users.noreply.github.com> Date: Tue, 27 Jun 2023 18:12:51 -0700 Subject: [PATCH] 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 --- programs/gdb.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/gdb.json b/programs/gdb.json index 0f066a89..d9121d27 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",