From 8ae9c465242c5e379877a15832043113021d714e Mon Sep 17 00:00:00 2001 From: Adam Hovorka Date: Mon, 4 Sep 2017 13:42:23 -0600 Subject: Switch from stowsh to dotbot --- base/zsh/aliases.zsh | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 base/zsh/aliases.zsh (limited to 'base/zsh/aliases.zsh') 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" -- cgit v1.2.3-70-g09d2