# attempt to save multiline single commands as single history entries.
shopt -s cmdhist
+
# inside emacs fixes
if [[ $INSIDE_EMACS ]]; then
export INSIDE_EMACS
if [[ $INSIDE_EMACS ]]; then
bind 'set horizontal-scroll-mode on'
bind 'set print-completions-horizontally on'
- bind '"\C-i": self-insert'
else
# arrow keys. for other terminals, see http://unix.stackexchange.com/questions/10806/how-to-change-previous-next-word-shortcut-in-bash
if [[ $TERM == "xterm" ]]; then
# use -ll, less secure but faster.
srm () {
- srm -ll "$@"
+ command srm -ll "$@"
}
# sudo redo. be aware, this command may not work right on strange distros or earlier software