X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/05fdc4b5ecc0735e8eb0cd199f9d89ae9e029c3a..refs/heads/uh-backup:/gdbinit?ds=inline diff --git a/gdbinit b/gdbinit index 9ed8ca0..aa8d6ed 100644 --- a/gdbinit +++ b/gdbinit @@ -1,4 +1,12 @@ set history save on +set history size 10000 + +python +import os +xdg_data = os.environ.get('XDG_DATA_HOME', '~/.local/share') +gdb.execute('set history filename {}/gdb/gdb_history'.format(xdg_data)) +end + set print pretty on set pagination off # set confirm off