You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to #310, It would be nice if Prezto supported a zstyle customization like the one in the git module that allows skipping the creation of aliases.
# skip emacs alias creation
zstyle ':prezto:module:emacs:alias' skip 'yes'# or, skip all alias creation in supported modules
zstyle ':prezto:module:*:alias' skip 'yes'
This is helpful for modules like homebrew, for example, where it's nice to have the environment variable functionality but not necessarily the aliases. Aliases are highly opinionated shortcuts and can be numerous in any given module, and they are not simple to undo without a large series of unalias commands in a users' config. A zstyle would solve this, and it's not a new concept since the git module already does this.
This feature only makes sense for modules that have a purpose beyond just creating aliases. So, for example, dnf, rsync, etc would not need this zstyle unless someday their purpose expands.
This can be implemented with a simple if block similar to how the git module already does it. PR incoming.
The text was updated successfully, but these errors were encountered:
Description
Similar to #310, It would be nice if Prezto supported a
zstyle
customization like the one in the git module that allows skipping the creation of aliases.This is helpful for modules like homebrew, for example, where it's nice to have the environment variable functionality but not necessarily the aliases. Aliases are highly opinionated shortcuts and can be numerous in any given module, and they are not simple to undo without a large series of
unalias
commands in a users' config. Azstyle
would solve this, and it's not a new concept since thegit
module already does this.This feature only makes sense for modules that have a purpose beyond just creating aliases. So, for example,
dnf
,rsync
, etc would not need thiszstyle
unless someday their purpose expands.This can be implemented with a simple
if
block similar to how thegit
module already does it. PR incoming.The text was updated successfully, but these errors were encountered: