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

Re: Best practices for managing aliases in ohmyzsh?



On Wed, Sep 1, 2021 at 2:11 PM <zeurkous@xxxxxxxx> wrote:
>
> Haai,
>
> "Lawrence Velázquez" <larryv@xxxxxxx> wrote:
> > Similarly, I don't think you should include a shebang in a file
> > that is not meant to be executed by a separate interpreter because
> > that is the whole point of shebangs. Including one sends a strong
> > signal that that file is supposed to be executed.
>
> It's magic that allows file(1) et al. to make a proper identification.

Also used by smart editors to initialize syntax coloring.

The ONLY trustworthy signal that a file is supposed to be executed
should be that it's execute permission bit is set.




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