aboutsummaryrefslogtreecommitdiff
path: root/base/zsh/aliases.zsh
diff options
context:
space:
mode:
authorAdam Hovorka <[email protected]>2017-09-04 13:42:23 -0600
committerAdam Hovorka <[email protected]>2017-09-04 13:42:23 -0600
commit8ae9c465242c5e379877a15832043113021d714e (patch)
treee7d1eabb895ee5dc954dc88ca3d6896b0c8ffadc /base/zsh/aliases.zsh
parent8916659e0e1cb67b860373f2d094445bb1f657aa (diff)
Switch from stowsh to dotbot
Diffstat (limited to 'base/zsh/aliases.zsh')
-rw-r--r--base/zsh/aliases.zsh31
1 files changed, 31 insertions, 0 deletions
diff --git a/base/zsh/aliases.zsh b/base/zsh/aliases.zsh
new file mode 100644
index 0000000..21544af
--- /dev/null
+++ b/base/zsh/aliases.zsh
@@ -0,0 +1,31 @@
+# UTILITY
+
+alias ls="ls --color=auto"
+alias less='less -R'
+alias grep='grep --color=auto'
+alias ..='cd ../'
+
+alias sudoe="sudo -E"
+alias svim="sudo -E vim"
+alias svimdiff="sudo -E vimdiff"
+
+# SAFETY
+
+alias cp="cp -i"
+alias mv="mv -i"
+
+# GIT
+
+alias gd='git diff'
+alias gco='git checkout'
+alias gs='git status --short'
+alias gl='git pull'
+alias gp='git push'
+alias gpp='git pull; git push'
+alias gwc='git whatchanged -p --abbrev-commit --pretty=medium'
+
+# POWER
+
+alias reboot="systemctl reboot"
+alias shutdown="systemctl poweroff"
+alias poweroff="systemctl poweroff"