aboutsummaryrefslogtreecommitdiff
path: root/base/.zsh/aliases.zsh
blob: 21544afab6d421e5f830e2f4b7b6e4f6c561788d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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"