Browse code

Add dotfiles

Robert Cranston authored on 19/06/2022 21:35:13
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,6 @@
1
+[ "$(command -v xdg-mime)" ] || return 0
2
+
3
+# `$HOME` is sometimes a mount point and opens in wierd applications, set the
4
+# handler for mount points to the same as for ordinary directories.
5
+# TODO: Move this to `dotfiles-xdg-utils`
6
+xdg-mime default "$(xdg-mime query default 'inode/directory')" 'inode/mount-point'