parent
f2a826e963
commit
b31a5cc3be
@ -0,0 +1,40 @@
|
||||
Alias Tips
|
||||
==========
|
||||
|
||||
Integrates [alias-tips][1] into Prezto, which reminds you
|
||||
whenever the command you just ran has an defined alias.
|
||||
|
||||
Settings
|
||||
--------
|
||||
|
||||
### Text
|
||||
|
||||
To change the tip text prefix, add the following line to *zpreztorc*:
|
||||
|
||||
zstyle ':prezto:module:alias-tips' text '💡 '
|
||||
|
||||
To exclude certain commands
|
||||
|
||||
zstyle ':prezto:module:alias-tips' exclude '_ c'
|
||||
|
||||
To automatically expand the alias
|
||||
|
||||
zstyle ':prezto:module:alias-tips' expand 'yes'
|
||||
|
||||
|
||||
Contributors
|
||||
------------
|
||||
|
||||
New features and bug fixes should be submitted to the
|
||||
[alias-tips][1] project according to its rules and
|
||||
regulations. This module will be synchronized against it.
|
||||
|
||||
Authors
|
||||
-------
|
||||
|
||||
*The authors of this module should be contacted via the [issue tracker][2].*
|
||||
|
||||
- [Jonathan Dahan](https://github.com/jedahan)
|
||||
|
||||
[1]: https://github.com/djui/alias-tips
|
||||
[2]: https://github.com/sorin-ionescu/prezto/issues
|
@ -0,0 +1 @@
|
||||
Subproject commit d753920778d09571d4b20f7e35e5a23af79f848c
|
@ -0,0 +1,21 @@
|
||||
#
|
||||
# Integrates alias-tips into Prezto.
|
||||
#
|
||||
# Authors:
|
||||
# Jonathan Dhan <hi@jonathan.is>
|
||||
#
|
||||
|
||||
# Source module files.
|
||||
|
||||
# Options
|
||||
zstyle -s ':prezto:module:alias-tips' text 'ZSH_PLUGINS_ALIAS_TIPS_TEXT' && \
|
||||
export 'ZSH_PLUGINS_ALIAS_TIPS_TEXT'
|
||||
|
||||
zstyle -s ':prezto:module:alias-tips' excludes 'ZSH_PLUGINS_ALIAS_TIPS_EXCLUDES' && \
|
||||
export ZSH_PLUGINS_ALIAS_TIPS_EXCLUDES
|
||||
|
||||
if zstyle -t ':prezto:module:alias-tips' expand; then
|
||||
export ZSH_PLUGINS_ALIAS_TIPS_EXPAND=1
|
||||
fi
|
||||
|
||||
source "${0:h}/external/alias-tips.plugin.zsh" || return 1
|
Loading…
Reference in new issue