Designed for Prezto…compatible with Oh My Zsh.

Inits zsh-mime-setup.

zsh-mime-setup will setup Zsh with system default associations for file suffixes (i.e., alias -s file-extension=system-default-handler)

It is recommended to run this plugin first in the list to avoid overwriting any changes you may have made in other plugins.

Useful commands

Command stringValue
alias -srun to list all suffix aliases
zsh-mime-setup -lhandler the shell will use

Like it?

If you have feature suggestions, please open an issue. If you have contributions, open a pull request. I’d love to expand this library as much as is possible.

Author(s)

The author(s) of this module should be contacted via the issue tracker.