dotfiles/.bash_aliases

11 lines
421 B
Bash
Raw Normal View History

#.dotfiles repo alias
alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
# show file sizes alias and sort by size
alias sizes='du -hs .[^.]* * | sort -h'
# tmux '-2' colors
alias tmux="tmux -2"
# bash tree alias
alias gittree="git log --all --decorate --oneline --graph"
2020-11-05 00:10:36 +08:00
# pacman list sizes
alias pacsizes="LC_ALL=C pacman -Qi | awk '/^Name/{name=$3} /^Installed Size/{print $4$5, name}' | sort -h"