Registered Aliases

$BASH_ALIASES contains a name-value mapping of the registered aliases.

Examples

Print names and values of all registered aliases :

1
2
3
for name in ${!BASH_ALIASES[@]}; do 
  echo "$name == ${BASH_ALIASES[$name]}"
done
BashSupport Pro 是一个 支持 $BASH_ALIASES 的 Bash 集成开发工具 – 马上试用!
© 2020–2022 Joachim Ansorg
声明
隐私政策
许可条款