change image from ubuntu to bash
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e0e70a4190
commit
6ec5aa8ded
4
trash.sh
4
trash.sh
@ -18,8 +18,8 @@ trash_put() {
|
||||
}
|
||||
|
||||
trash_empty() {
|
||||
echo "Delete all $(find "$HOME"/.trash/ ! -name ".filepaths" | wc -l) files in trash?"
|
||||
\rm -ir "$HOME"/.trash/* && echo >"$FILE_PATHS_FILE"
|
||||
echo "Delete all $(find "$HOME"/.trash/ ! -name ".filepaths" | tail -n +2 | wc -l) files in trash?"
|
||||
\rm -irf "$HOME"/.trash/* && echo >"$FILE_PATHS_FILE"
|
||||
}
|
||||
|
||||
trash_restore() {
|
||||
|
Loading…
Reference in New Issue
Block a user