Replace . with "$PWD"

This commit is contained in:
krisdoodle45 2021-12-20 18:45:21 +01:00 committed by GitHub
parent d38ef1ca36
commit 5110668d4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ case "$1" in
application/pdf*|application/x-zip*|application/x-rar*)
zathura "/tmp/$urlcode" >/dev/null 2>&1 & ;;
audio*)
mv "/tmp/$urlcode" . >/dev/null 2>&1 ;;
mv "/tmp/$urlcode" "$PWD" >/dev/null 2>&1 ;;
*)
[ -f "$1" ] && setsid -f "$TERMINAL" -e "$EDITOR" "$1" >/dev/null 2>&1 || setsid -f "$BROWSER" "$1" >/dev/null 2>&1
esac