dotfiles/.bash_aliases
2021-02-18 22:17:52 +08:00

17 lines
544 B
Bash

#.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"
# open spotify web client on firefox
alias spw="firefox --new-window https://open.spotify.com/ & exit"
# run pulsemixer
alias mixer="pulsemixer"
# turn screen off
alias screenoff="sleep 1; xset dpms force off"
# matlab
alias matlab="matlab & disown"