diff --git a/shell/aliases b/shell/aliases index 59e9796..a50f960 100644 --- a/shell/aliases +++ b/shell/aliases @@ -16,3 +16,5 @@ alias ipa='ip addr|grep inet' alias cls='clear;ls' alias rvi='sudo -E vim' +# Use `shred` if it exists, or just `rm -P` +type "$shred" > /dev/null || alias shred='rm -P'