This commit is contained in:
parent
3f25c96eb4
commit
ec22f86714
@ -55,7 +55,7 @@ steps:
|
||||
depends_on:
|
||||
- install
|
||||
- test trash_restore
|
||||
image: ubuntu:latest
|
||||
image: bash:latest
|
||||
pull: if-not-exists
|
||||
commands:
|
||||
- /bin/bash
|
||||
|
3
trash.sh
3
trash.sh
@ -19,8 +19,7 @@ trash_put() {
|
||||
|
||||
trash_empty() {
|
||||
echo "Delete all $(find "$HOME"/.trash/ ! -name ".filepaths" | wc -l) files in trash?"
|
||||
# shellcheck disable=SC2086
|
||||
\rm -Ir $HOME/.trash/* && echo >"$FILE_PATHS_FILE"
|
||||
\rm -Ir "$HOME"/.trash/* && echo >"$FILE_PATHS_FILE"
|
||||
}
|
||||
|
||||
trash_restore() {
|
||||
|
Loading…
Reference in New Issue
Block a user