Add xdg-mime query shortcut function to zsh

This commit is contained in:
Evie Litherland-Smith 2023-09-13 17:41:48 +01:00
parent 84c189b093
commit f9629b84ac

View file

@ -14,6 +14,9 @@
initExtraFirst = '' initExtraFirst = ''
source ${catppuccin-themes.zsh} source ${catppuccin-themes.zsh}
''; '';
initExtra = ''
xdg-query-program () { xdg-mime query default $(xdg-mime query filetype $@) }
'';
oh-my-zsh = { oh-my-zsh = {
enable = true; enable = true;
plugins = [ plugins = [