diff --git a/sh/io/rm.sh b/sh/io/rm.sh index 8c42b10..8cf9a4f 100644 --- a/sh/io/rm.sh +++ b/sh/io/rm.sh @@ -1,5 +1,14 @@ # rm +# remove recursively +#| rm +rwx_remove() { + rm \ + --force \ + --recursive \ + "${@}" +} + # remove interactively #| rm #= rmi diff --git a/sh/util.sh b/sh/util.sh index f622b2c..1ea4b51 100644 --- a/sh/util.sh +++ b/sh/util.sh @@ -28,13 +28,6 @@ rwx_read_secret() { unset secret } -rwx_remove() { - rm \ - --force \ - --recursive \ - "${@}" -} - rwx_warn_wipe() { local tmp rwx_list_block