commit 46c01f1647960efaec585e2ffe75cf6dd4ea292a parent 4a6815844fba4163f0b953c142e1766b0a148408 Author: Ed van Bruggen <edvb54@gmail.com> Date: Fri, 14 Nov 2014 17:26:43 -0800 Bash: Add alias for `sudo !!` Diffstat:
bashrc | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/bashrc b/bashrc @@ -114,6 +114,7 @@ alias rm='rm -i' # shortcuts alias sb='source ~/.bashrc' +alias cmon='sudo "$BASH" -c "$(history -p !!)"' alias emacs='emacs --no-window-system' alias t='todoium'