From e69b853c9bc274f61bb2f58800612678fe287f9a Mon Sep 17 00:00:00 2001 From: Adam Hovorka Date: Mon, 7 Aug 2017 13:58:15 -0600 Subject: Add misc aliases and functions --- base/.zsh/aliases.zsh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'base/.zsh/aliases.zsh') 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" -- cgit v1.2.3-70-g09d2