diff --git a/bash/.bashrc b/bash/.bashrc index 6f9c919..a457215 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -31,6 +31,9 @@ alias s='sudo' alias df='sudo df -hT -x tmpfs -x devtmpfs' alias rsync='rsync --progress' alias lg='ll | grep -i $0' +# allows alias expansion after sudo, eg: sudo l +# bash man page, "last char of alias value is space or tab..." +alias sudo='sudo ' #bind 'set completion-ignore-case on' set bell-style none