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' |