summaryrefslogtreecommitdiff
path: root/bash/.bash_aliases
diff options
context:
space:
mode:
authorEkaitz Zárraga <ekaitz.zarraga@gmail.com>2016-04-01 18:37:03 +0200
committerEkaitz Zárraga <ekaitz.zarraga@gmail.com>2016-04-01 18:37:03 +0200
commit16f4a8bc2a236f822466e84c5aaf4f403baef590 (patch)
treec62aa5b594f90160bd1748e9970f86ab7e0d25da /bash/.bash_aliases
parent39751589994e14bc303f531207785e150a8cae72 (diff)
Improved FUCK
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