summaryrefslogtreecommitdiff
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
parentce9db5c85ca8456328dc669a6557c964a40afea0 (diff)
Bash aliases
-rw-r--r--README.md4
-rw-r--r--bash/.bash_aliases8
2 files changed, 10 insertions, 2 deletions
diff --git a/README.md b/README.md
index 2972104..0f3d03d 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,2 @@
-# dotfiles
-My dotfiles. Vim and Git for now.
+# Configuration files
+My dotfiles. Vim, Git and Bash for now.
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 \!\!)'