summaryrefslogtreecommitdiff
path: root/bash/.bash_aliases
diff options
context:
space:
mode:
Diffstat (limited to 'bash/.bash_aliases')
-rw-r--r--bash/.bash_aliases2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/.bash_aliases b/bash/.bash_aliases
index 546c7e6..24ffcf5 100644
--- a/bash/.bash_aliases
+++ b/bash/.bash_aliases
@@ -5,7 +5,7 @@ alias nvimdiff='nvim -d'
alias r='ssh -l root'
# fuck!
-alias fuck='sudo $(history -p \!\!)'
+alias fuck='COMMAND=$(history -p \!\!); echo sudo $COMMAND; sudo $COMMAND'
# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then