|
|
@ -76,18 +76,6 @@ function sqlsetup {
|
|
|
|
cp -a ~/git/sqlsetup/* ~/shares/sqlsetup/
|
|
|
|
cp -a ~/git/sqlsetup/* ~/shares/sqlsetup/
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function _df() {
|
|
|
|
|
|
|
|
echo "$*"
|
|
|
|
|
|
|
|
btrfs filesystem usage "$*" 2> /dev/null | grep -o 'Free .*'
|
|
|
|
|
|
|
|
btrfs filesystem df "$*"
|
|
|
|
|
|
|
|
echo
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
function dfall() {
|
|
|
|
|
|
|
|
_df /hdd
|
|
|
|
|
|
|
|
_df /ssd
|
|
|
|
|
|
|
|
_df /nvme
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PS1='$(starship prompt)'
|
|
|
|
PS1='$(starship prompt)'
|
|
|
|
|
|
|
|
|
|
|
|
alias ls='ls --color=auto'
|
|
|
|
alias ls='ls --color=auto'
|
|
|
|