diff options
| author | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2022-02-10 19:04:12 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2022-02-10 19:04:12 +0100 |
| commit | 0daec8b1fa53ce41cd896fbc69143ee7e3fc4023 (patch) | |
| tree | 6c927a6c252ed9dbb1af1305260ff0560be4db6e | |
| parent | cb8f9102498eddb8cd3cb907a2d64dd344a92910 (diff) | |
| download | scripts-0daec8b1fa53ce41cd896fbc69143ee7e3fc4023.tar.gz scripts-0daec8b1fa53ce41cd896fbc69143ee7e3fc4023.zip | |
Removed TRASH environment variable
Diffstat (limited to '')
| -rwxr-xr-x | trash | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -6,7 +6,7 @@ | |||
| 6 | # Usage: trash [rm FILE(s)|ls|empty] | 6 | # Usage: trash [rm FILE(s)|ls|empty] |
| 7 | # Pretty self-explanatory | 7 | # Pretty self-explanatory |
| 8 | 8 | ||
| 9 | trashfolder=${TRASH:-$XDG_DATA_HOME/mytrash} | 9 | trashfolder=$XDG_DATA_HOME/mytrash |
| 10 | 10 | ||
| 11 | if [ -z "$1" ]; then | 11 | if [ -z "$1" ]; then |
| 12 | echo "usage: trash [rm FILE(s)|ls|empty]" | 12 | echo "usage: trash [rm FILE(s)|ls|empty]" |
