# Save history, but do it globally set history save on set history size 10000 set history filename ~/.gdb_history