Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: zsh-3.1.5-pws-9, TRAPZERR fix for new completion



We probably want to defeat TRAPZERR within the new
completion stuff.  Mine just prints "That didn't work",
which isn't desirable during completion.

I'm not sure about the other special functions.



*** Functions/Completion/_main_complete.orig    Sat Feb 20 22:36:32 1999
--- Functions/Completion/_main_complete Sat Feb 20 22:33:20 1999
***************
*** 10,15 ****
--- 10,18 ----
  setopt localoptions nullglob rcexpandparam globdots
  unsetopt markdirs globsubst shwordsplit nounset
  
+ function TRAPZERR () {
+ }
+ 
  # An entry for `-first-' is the replacement for `compctl -T'
  # Completion functions may set `COMPSKIP' to any value to make the 
  # main loops stop calling other completion functions.


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com



Messages sorted by: Reverse Date, Date, Thread, Author