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

Fwd: _pick_variant



On 2020-11-12 10:40 a.m., Roman Perepelitsa wrote:
> and discovered the hard way that zsh supplies a completion function
> for a utility of the same name

1.  The simplest technique for dealing with a flat namespace in any programming language, including shell, is to prefix local names. For example, my command scripts uses “my_” for prefixing where naming collisions may occur. I suppose I could have used “JRC_”.

2. “which” is your friend.






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