$saliases  –  Suffix alias mapping

$saliases maps suffix alias names to their expansions.

Examples

Define suffix alias to open HTML files in your browser
1
2
3
alias -s html=xdg-open
typeset saliases
# entering an html file as command will now open your browser displaying the file
Output:
1
saliases=( [html]=xdg-open )
BashSupport Pro is a Zsh IDE with support for $saliasestry it now!
© 2020–2024 Joachim Ansorg
Imprint
Privacy Policy
Legal