Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
5
Newest
 Student
Impact
~465 people reached

Apr
4
comment bash / gdb autocompletes core file on RedHat but not on Ubuntu
Uninstalling the entirety of bash-completion and/or removing all the completion rules is probably a bit extreme. It is possible to remove just the rules for gdb. As mentioned in a comment on the question, the rules (on Ubuntu) are defined in /usr/share/bash-completion/completions/gdb, so one could also alter that file to change the completion rules
Apr
4
comment bash / gdb autocompletes core file on RedHat but not on Ubuntu
@MarkPlotnick that worked - thank you! Seems the reason it works in CentOS is that there is no completion for gdb, but there is on Ubuntu, and it's exactly as you say - requires /path/core[.pid] and anything else doesn't work
Mar
29
comment What configuration exists in CentOS but not in Ubuntu, which shows user@hostname for remote terminal sessions?
Ah - thank you - I was looking in env which was incorrect!
Mar
29
comment What configuration exists in CentOS but not in Ubuntu, which shows user@hostname for remote terminal sessions?
I just commented it out of my .bashrc, unset PROMPT_COMMAND and started gnome-terminal. As such, the tab titles now say "Terminal" instead of user@hostname:path. However, with the tab saying Terminal, when I ssh into CentOS, the tab title is updated, but not with Ubuntu
Jan
28
comment Different kinds of copy-paste in Emacs under X
@Gilles would you have any insight on this question please?