$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 是一款支持 saliases** 的 **Zsh 集成开发环境 - 立即试用
© 2020–2024 Joachim Ansorg
声明
隐私政策
许可条款