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

Re: some color fails in command.



On 08/08/17 01:51 PM, Dupéron Georges wrote:

If you want to simply add a small utility command to your own shell, write it as a function in a separate file, and source that small file from your ~/.zshrc.

Too bad there wasn't a PATH for runable scripts that aren't functions and don't need to involve a fresh shell. The miser in me dislikes .zshrc loading of stuff that's not often used so I don't bother creating functions, still it would be nice to have quick access to the thing w.o. having to change to the directory or give a full path. Probably autoload would be the right compromise.

Thanks Georges, very fine and detailed answers.



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