Archive : Rm prints removed archives.
This commit is contained in:
parent
1b1ce9d545
commit
1921a6f61c
|
@ -157,7 +157,7 @@ function archive_rm() {
|
||||||
[[ "${targets}" = "" ]] && targets=($(_ls_archive))
|
[[ "${targets}" = "" ]] && targets=($(_ls_archive))
|
||||||
|
|
||||||
process() {
|
process() {
|
||||||
rm -- "${target}"
|
rm -- "${target}" && echo "${target}"
|
||||||
}
|
}
|
||||||
|
|
||||||
_iterate_targets process ${targets[@]}
|
_iterate_targets process ${targets[@]}
|
||||||
|
|
Reference in a new issue