diff options
| author | Tim Keller <tjkeller.xyz> | 2024-10-20 13:36:08 -0500 | 
|---|---|---|
| committer | Tim Keller <tjkeller.xyz> | 2024-10-20 13:36:08 -0500 | 
| commit | ef672537ab4e1d53ace5c2b803d11561a3e06f59 (patch) | |
| tree | 190f7d8dff94ca720e242cf4e288fe84c5f30a24 /misc | |
| parent | 93d280108b318834f4d76a28c5ed56bec084a7ed (diff) | |
| download | scripts-ef672537ab4e1d53ace5c2b803d11561a3e06f59.tar.xz scripts-ef672537ab4e1d53ace5c2b803d11561a3e06f59.zip  | |
fix mimewiz when XDG_CONFIG_HOME is not set
Diffstat (limited to 'misc')
| -rwxr-xr-x | misc/mimewiz | 4 | 
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  | 
