sorin-ionescu / prezto

The configuration framework for Zsh
MIT License
13.98k stars 4.49k forks source link

Add zstyle to skip aliases for additional modules #2037

Closed mattmc3 closed 1 year ago

mattmc3 commented 1 year ago

Please be sure to check out our contributing guidelines before submitting your pull request.

Fixes #2036

Proposed Changes

Simply adds an optional zstyle if block to allow skipping alias creation for the following modules:

Be sure to view the diff with whitespace ignored (?w=1). It is much simpler to see that the only change here is the addition of an if block. https://github.com/mattmc3/prezto/commit/a7d6a1a5553d32700c77924a9f0e947c35e61bd9?w=1

mattmc3 commented 1 year ago

Simplified diff link for this PR: https://github.com/sorin-ionescu/prezto/pull/2037/files?w=1

belak commented 1 year ago

I really like this change - thanks for submitting it!