aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/gdb.bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bashrc.d/gdb.bash')
-rw-r--r--bash/bashrc.d/gdb.bash5
1 files changed, 5 insertions, 0 deletions
diff --git a/bash/bashrc.d/gdb.bash b/bash/bashrc.d/gdb.bash
new file mode 100644
index 00000000..3c9ed4a6
--- /dev/null
+++ b/bash/bashrc.d/gdb.bash
@@ -0,0 +1,5 @@
+# Don't print the GDB copyright message on every invocation
+gdb() {
+ command gdb -q "$@"
+}
+