Org: fix mime-type registration check
This commit is contained in:
parent
43bf6b2a86
commit
eb57cb93f1
|
@ -3827,7 +3827,7 @@ be changed with the following file. For system-wide changes try
|
|||
#+end_src
|
||||
What's nice is that Papirus [[https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/commit/a10fb7f2423d5e30b9c4477416ccdc93c4f3849d][now]] has an icon for =text/org=.
|
||||
One simply needs to refresh their mime database
|
||||
#+begin_src shell :tangle (if (string= (shell-command-to-string "xdg-mime query default text/org") "\n") "setup.sh" "no")
|
||||
#+begin_src shell :tangle (if (string= (shell-command-to-string "xdg-mime query default text/org") "") "setup.sh" "no")
|
||||
update-mime-database ~/.local/share/mime
|
||||
#+end_src
|
||||
Then set Emacs as the default editor
|
||||
|
|
Loading…
Reference in New Issue