Code:
alias testerror {
  cool
  echo -a yay
  :error
  echo -a this: $error  testerror FAILED
  reseterror
}
alias cool { 
  echo -a $or()
  :error
  echo -a this: $error  cool FAILED
  reseterror
}

will output
this: * /echo: insufficient parameters (line 9, script9.mrc) cool FAILED
yay
this: testerror FAILED

It seems odd behaviour though to me since cool reset the error testerror shouldn't trigger an error since /reseterror indicates don't propegate to the calling alias's error smirk.


Wheter these 2 are related or not i don't know


$maybe