Add xdg-mime query shortcut function to zsh
This commit is contained in:
parent
84c189b093
commit
f9629b84ac
|
@ -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 = [
|
||||||
|
|
Loading…
Reference in a new issue