aliases.sh: Add foldersize

old-yadm
earnest ma 2021-07-06 15:21:27 -04:00
parent 69395b7a0c
commit eadc372e3c
No known key found for this signature in database
GPG Key ID: 6B361FA81C5FB695
1 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,10 @@
# From https://mastodon.xyz/@CarlCravens/105758509287927276
alias clear='clear; tput cup $LINES 0'
foldersize(){
du -sh $@
}
tmm(){
if [ -z $1 ]; then
tmux attach-session -t 0 || tmux