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

Re: trap ERR



On Feb 21,  8:56am, Ray Andrews wrote:
}
} > There's nothing to stop you using $fpath and autoload in a script. 
} 
} Yabut that requires one function per file IIRC.

There's also nothing to stop you putting your functions in ~/.zshenv
so that they're available in every shell that starts up.  It's all
down to dividing things appropriately across your init files to get
the right balance of having components you need without too much
startup overhead (and proper wariness of functions that redefine any
common commands like "ls" etc.).



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