Merge branch 'master' of gitea.lubiland.de:lub/scripts

master
lub 6 years ago
commit 11b9427d95

@ -0,0 +1,22 @@
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
function _df() {
echo "$*"
btrfs filesystem usage "$*" 2> /dev/null | grep -o 'Free .*'
btrfs filesystem df "$*"
echo
}
function dfall() {
_df /hdd
_df /ssd
_df /nvme
}
alias ls='ls --color=auto'
PS1='`[ $? = 0 ] || echo "$? "`[\u@\h \w]\$ '
alias docker='sudo docker'
Loading…
Cancel
Save