From f1eca1aa803c7588f0d1ca2dfbfea432f00f921b Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Thu, 29 May 2014 11:10:04 -0700 Subject: [PATCH] bug fix for srm alias --- .bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bashrc b/.bashrc index a8751e3..5b4c3d1 100644 --- a/.bashrc +++ b/.bashrc @@ -88,6 +88,7 @@ shopt -s checkwinsize # attempt to save multiline single commands as single history entries. shopt -s cmdhist + # inside emacs fixes if [[ $INSIDE_EMACS ]]; then export INSIDE_EMACS @@ -103,7 +104,6 @@ if [[ $- == *i* ]]; then 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 @@ -625,7 +625,7 @@ complete -F _root_command s sb # 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 -- 2.30.2