Re:Run last command as root
by telemachos on Thursday December 16, 2010 @01:36PM
(#2013076)
You can also tweak the behavior of readline (for Bash and other applications) and custom make your own key combinations by editing your ~/.inputrc file. A random example from mine:
# Insert double quotes & set cursor between them
"\C-x\"": "\"\"\eb"
#
# Insert single quotes & set cursor between them
"\C-x'": "''\eb"
http://www.gnu.org/software/bash/manual/bashref.html#Command...