aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano.tronto@gmail.com>2022-02-10 19:04:12 +0100
committerSebastiano Tronto <sebastiano.tronto@gmail.com>2022-02-10 19:04:12 +0100
commit0daec8b1fa53ce41cd896fbc69143ee7e3fc4023 (patch)
tree6c927a6c252ed9dbb1af1305260ff0560be4db6e
parentcb8f9102498eddb8cd3cb907a2d64dd344a92910 (diff)
downloadscripts-0daec8b1fa53ce41cd896fbc69143ee7e3fc4023.tar.gz
scripts-0daec8b1fa53ce41cd896fbc69143ee7e3fc4023.zip
Removed TRASH environment variable
-rwxr-xr-xtrash2
1 files changed, 1 insertions, 1 deletions
diff --git a/trash b/trash
index 0e6a524..28aa775 100755
--- a/trash
+++ b/trash
@@ -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
9trashfolder=${TRASH:-$XDG_DATA_HOME/mytrash} 9trashfolder=$XDG_DATA_HOME/mytrash
10 10
11if [ -z "$1" ]; then 11if [ -z "$1" ]; then
12 echo "usage: trash [rm FILE(s)|ls|empty]" 12 echo "usage: trash [rm FILE(s)|ls|empty]"

Generated with cgit - Back to sebastiano.tronto.net