From: Simon Ruderich Date: Tue, 7 May 2013 19:31:43 +0000 (+0200) Subject: gdb/gdbinit: Add colored prompt. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=7e4575b320cbc1840cf6fd36bbf6b9cfda9a5ee4;p=config%2Fdotfiles.git gdb/gdbinit: Add colored prompt. --- diff --git a/gdb/gdbinit b/gdb/gdbinit index b179e63..5ce2868 100644 --- a/gdb/gdbinit +++ b/gdb/gdbinit @@ -22,6 +22,11 @@ set history save on set history size 10000 +# Set prompt. Bold green "gdb" in parentheses. Trailing whitespace is +# necessary. +set extended-prompt (\[\e[01;32m\]gdb\e[00m\]) + + # Always disassemble next command/instruction. Very useful when debugging code # without debug information. set disassemble-next-line on