dotfiles/.bash_aliases

35 lines
652 B
Bash
Raw Normal View History

2021-04-26 13:40:00 +08:00
#
# CLI
#
#.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'
# bash tree alias
alias gittree="git log --all --decorate --oneline --graph"
2020-12-31 02:43:41 +08:00
# turn screen off
alias screenoff="sleep 1; xset dpms force off"
2021-04-26 13:40:00 +08:00
#
# TUI
#
# run pulsemixer
alias mixer="pulsemixer"
# use nvim instead of vim
alias vim="nvim"
#
# GUI
#
# tmux '-2' colors
alias tmux="tmux -2"
# matlab
alias matlab="matlab & disown"
2021-03-06 22:03:04 +08:00
# bpytop
alias btop="bpytop"
2021-04-26 13:40:00 +08:00
# open spotify web client on firefox
alias spw="firefox --new-window https://open.spotify.com/ & exit"