aboutsummaryrefslogtreecommitdiff
path: root/base/.zsh/aliases.zsh
diff options
context:
space:
mode:
authorAdam Hovorka <[email protected]>2017-08-07 13:58:15 -0600
committerAdam Hovorka <[email protected]>2017-08-07 13:58:15 -0600
commite69b853c9bc274f61bb2f58800612678fe287f9a (patch)
tree4d16a12f2193e2a9d2f89daebfb8b368fb94162c /base/.zsh/aliases.zsh
parentf2391b8f1552965b81ec1f39d351f810dd591858 (diff)
Add misc aliases and functions
Diffstat (limited to 'base/.zsh/aliases.zsh')
-rw-r--r--base/.zsh/aliases.zsh12
1 files changed, 11 insertions, 1 deletions
diff --git a/base/.zsh/aliases.zsh b/base/.zsh/aliases.zsh
index 9f1d2a1..ad56e1b 100644
--- a/base/.zsh/aliases.zsh
+++ b/base/.zsh/aliases.zsh
@@ -5,12 +5,22 @@ 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"
+
# GIT
alias gd='git diff'
alias gco='git checkout'
-alias gs='git status'
+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"