]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/blobdiff - programs/gdb.json
Add Boto help (#452)
[xdg-ninja.git] / programs / gdb.json
index 11fee1c24878a35a54b5dd67e4325922b8009a3f..6edabfa07e8e9371ef35cf8107b8eae86b6ab887 100644 (file)
@@ -2,14 +2,14 @@
     "name": "gdb",
     "files": [
         {
-            "path": "${HOME}/.gdbinit",
+            "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",
             "movable": true,
-            "help": "GDB supports setting it's config file path through an environment variable. Simply move your _.gdb_history_ file to _XDG_CONFIG_HOME/gdb_ and export the following:\n\n```bash\nexport GDBHISTFILE=\"$XDG_CONFIG_HOME\"/gdb/.gdb_history \n```\n\nNote: If you are using GEF this does not work, as GEF overwrites the filepath. In order to use the correct path again, you have to call ```set history filename ~/.config/gdb/.gdb_history``` after you source _gef.py_ in your gdb init file.\n"
+            "help": "GDB supports setting it's config file path through an environment variable. Simply move your _.gdb_history_ file to _$XDG_CONFIG_HOME/gdb_ and export the following:\n\n```bash\nexport GDBHISTFILE=\"$XDG_CONFIG_HOME\"/gdb/gdb_history \n```\n\nNote: If you are using GEF this does not work, as GEF overwrites the filepath. In order to use the correct path again, you have to call ```set history filename ~/.config/gdb/gdb_history``` after you source _gef.py_ in your gdb init file.\n"
         }
     ]
 }