remove list filepath from trash_list
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
f9cae00ec8
commit
782fac7873
2
trash.sh
2
trash.sh
@ -6,7 +6,7 @@ FILE_PATHS_FILE="$HOME/.trash/.filepaths"
|
|||||||
[ ! -f "$FILE_PATHS_FILE" ] && touch "$FILE_PATHS_FILE"
|
[ ! -f "$FILE_PATHS_FILE" ] && touch "$FILE_PATHS_FILE"
|
||||||
|
|
||||||
trash_list() {
|
trash_list() {
|
||||||
find "$HOME"/.trash/ ! -name ".filepaths" ! -name ""
|
find "$HOME"/.trash/ ! -name ".filepaths" | tail -n +2
|
||||||
}
|
}
|
||||||
|
|
||||||
trash_put() {
|
trash_put() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user