diff options
author | toonn <toonn@toonn.io> | 2019-10-02 17:20:49 +0200 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2019-10-02 17:20:49 +0200 |
commit | 8bea5c562155f5b6a692f0970ca658b4078280ee (patch) | |
tree | e93c38246b8e8987af5a2f7ccbd5ce07772757e9 /ranger | |
parent | e4aba195da97997cb89c6b2e9acdcf47284304a9 (diff) | |
download | ranger-8bea5c562155f5b6a692f0970ca658b4078280ee.tar.gz |
Simplify alternative trash rifle rule
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/config/rifle.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/config/rifle.conf b/ranger/config/rifle.conf index c26b66b5..f04d1031 100644 --- a/ranger/config/rifle.conf +++ b/ranger/config/rifle.conf @@ -275,4 +275,4 @@ mime application/x-executable = "$1" # Move the file to trash using trash-cli. label trash, has trash-put = trash-put -- "$@" -label trash = mkdir -p -- ${"$XDG_DATA_DIR"/ranger-trash:-~/.ranger/trash}; mv -- "$@" ${"$XDG_DATA_DIR"/ranger-trash:-~/.ranger/trash} +label trash = mkdir -p -- ${XDG_DATA_DIR:-$HOME/.ranger}/ranger-trash; mv -- "$@" ${XDG_DATA_DIR:-$HOME/.ranger}/ranger-trash |