ugdb
ugdb copied to clipboard
Is it possible to save the layout to have it every time I open UGDB_
Hello, I was wondering if is it possible to save a specific layout as a default layout to use it every time I want to open ugdb. Instead of the (1s-1c)|(1e-1t) I want to use a (1s-1c)|e layout. Should I modify the code to load it as a standard layout?
Thanks in advance :)
Since this is the only configuration for ugdb so far, I've not implemented config file support yet. This would be an option, but I'm still not sure if this is worth it (so far).
I would suggest either creating an alias (depends on your shell) or a wrapper script like the following:
/bin/sh
exec ugdb --layout='(1s-1c)|e' "$@"
Put this somewhere in your $PATH (e.g. ~/.bin) and either name it
something else than ugdb or make sure that this location comes before
ugdbs path in $PATH (i.e. before /bin/ or ~/.cargo/bin/ or
whereever you put the ugdb binary).