summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Keller <tjkeller.xyz>2024-10-20 13:36:08 -0500
committerTim Keller <tjkeller.xyz>2024-10-20 13:36:08 -0500
commitef672537ab4e1d53ace5c2b803d11561a3e06f59 (patch)
tree190f7d8dff94ca720e242cf4e288fe84c5f30a24
parent93d280108b318834f4d76a28c5ed56bec084a7ed (diff)
downloadscripts-ef672537ab4e1d53ace5c2b803d11561a3e06f59.tar.xz
scripts-ef672537ab4e1d53ace5c2b803d11561a3e06f59.zip
fix mimewiz when XDG_CONFIG_HOME is not set
-rwxr-xr-xmisc/mimewiz4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/mimewiz b/misc/mimewiz
index a275bcc..cf4376b 100755
--- a/misc/mimewiz
+++ b/misc/mimewiz
@@ -2,8 +2,8 @@
set -e
-config="${XDG_CONFIG_HOME:-~/.config}/mimewiz"
-#mkdir -p "$config"
+config=${XDG_CONFIG_HOME:-~/.config}/mimewiz
+mkdir -p "$config"
install_default_mimetypes() {
for app in "$config"/*; do