I hereby claim:
- I am rtud on github.
- I am rtud (https://keybase.io/rtud) on keybase.
- I have a public key ASDXq-MT8vl5vTzYKcPzwvQn7jAWUnU-D8ck5GnKf33gRgo
To claim this, I am signing this object:
| #!/bin/bash | |
| ########################################################################### | |
| # The following is a workaround for upgrading brew packages when you have | |
| # separate admin and non-admin users on a macOS device | |
| ########################################################################### | |
| # Copyright (c) 2021 Radu Tudorie (rtud) | |
| # | |
| # MIT License | |
| # |
I hereby claim:
To claim this, I am signing this object:
| # Move to trash | |
| trash() { | |
| yellow=$(tput setaf 3) | |
| reset=$(tput sgr0) | |
| echo -e "\n" | |
| for f in "$@"; do | |
| bn=$(basename "$f") | |
| while [ -e ~/.local/share/Trash/files/"$bn" ] | |
| do | |
| bn="$bn $(date +%H.%M.%S %p)" |