Hi
I define a global alias:
alias -g EMPTYSTR='[[:space:][:INCOMPLETE:][:INVALID:]$'\e']#'
to then use it in [[ "" == EMPTYSTR ]]. It works, however any addition to the alias name makes it inactive, e.g.:
[[ "" == (EMPTYSTR) ]]
[[ "" == (#b)(EMPTYSTR) ]]
won't work. Is there any way to somehow improve the alias recognizability?
--
Best regards,
Sebastian Gniazdowski