# basic shell aliases # helper alias c='clear' alias copy='xclip -i -selection "clipboard"' alias df='df -h | grep -vE "tmpfs|loop|udev|docker"' alias du='du -h --max-depth=1' alias grep='grep --color=auto' alias h='htop' alias iftop='sudo iftop' alias iotop='sudo iotop -oP' alias ip='ip -c' alias locate='locate -Aei' alias ls='ls -lh --color=auto --group-directories-first' alias lsa='ls -lhA' alias lsblk='lsblk --output name,size,fstype,label,mountpoint' alias lt='systemctl list-timers' alias mount='sudo mount -a' alias network='sudo systemctl restart NetworkManager.service' alias p='ipython' alias pingg="ping www.google.com -c 5" alias r='ranger' alias sr='screen -r' alias trash-list="trash-list | sort | less" alias tree="tree -C" alias wget='wget -c' alias x='exit' # cd alias cde="cd /etc/ && pwd" alias cdu="cd /etc/systemd/system/ && pwd && ls" alias cdm="cd /mnt/ && pwd && ls" # tmux alias t="tmux -u" alias tl="tmux list-sessions" alias ta="tmux attach" # git alias ggraph="git log --all --decorate --oneline --graph" alias gpretty='git log --pretty=format:"%h%x09%an%x09%ad%x09%s"' alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'