diff --git a/README.md b/README.md index a0a66a2..5be2b0e 100644 --- a/README.md +++ b/README.md @@ -19,3 +19,14 @@ The repository consists of the following directories: these are basically what goes in `.bashrc`, split in different files. Files in this directory are automatically sourced at shell startup in alphabetic order. + +## Setup + +To install: + +```bash +mkdir -p ~/system +git clone https://github.com/albertodonato/bash.d ~/system/bash.d +mv ~/.bashrc ~/.bashrc.orig +ln -sf system/bash.d/bashrc ~/.bashrc +``` diff --git a/rc.d/200-alias.sh b/rc.d/200-alias.sh index 609dd1e..8ad1388 100644 --- a/rc.d/200-alias.sh +++ b/rc.d/200-alias.sh @@ -22,6 +22,8 @@ pytree() { find "$1" -not -regex '.*__pycache__.*' | tree --fromfile } +alias dds="dd status=progress oflag=sync" + # shellcheck disable=SC2142 alias diffcount="diffstat -s | awk -F, '{ gsub(/[^0-9,]/, \"\"); print \$2+\$3; }'"