summaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorEkaitz Zárraga <ekaitz.zarraga@fon.com>2015-12-15 12:18:09 +0100
committerEkaitz Zárraga <ekaitz.zarraga@fon.com>2015-12-15 12:18:09 +0100
commit7863b406498dda28a842f8bfd4e1ba4c5c87111e (patch)
tree54b782a6d458780666e547c9e18a9a653369e019 /bash
parentce9db5c85ca8456328dc669a6557c964a40afea0 (diff)
Bash aliases
Diffstat (limited to 'bash')
-rw-r--r--bash/.bash_aliases8
1 files changed, 8 insertions, 0 deletions
diff --git a/bash/.bash_aliases b/bash/.bash_aliases
new file mode 100644
index 0000000..96bd16a
--- /dev/null
+++ b/bash/.bash_aliases
@@ -0,0 +1,8 @@
+# vimdiff style with nvim
+alias nvimdiff='nvim -d'
+
+# ssh as root -> Sysadmin trick
+alias r='ssh -l root'
+
+# fuck!
+alias fuck='sudo $(history -p \!\!)'