aboutsummaryrefslogtreecommitdiff
path: root/base/zsh/aliases.zsh
diff options
context:
space:
mode:
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"