Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Best practices for managing aliases in ohmyzsh?
Bart Schaefer wrote on Tue, Aug 31, 2021 at 20:01:18 -0700:
> The context of the discussion has been (1) how to zsh interactively
> but run scripts written for bash, without having to convert them, and
> (2) how to make all those scripts accessible to zsh without having to
> predefine them somehow in .zshrc. The answer is to make them
> executable and put bash in the #! line, so that bash continues to be
> what runs them. That works as long as what the script does, does not
> need to persist in the interactive zsh (see "new invocation" above).
A future FAQ entry about this:
https://github.com/zsh-users/zsh/blob/64befeb4ca5bd9ddb7162584585cd9041711ff8c/Etc/FAQ.yo#L939-L997
Messages sorted by:
Reverse Date,
Date,
Thread,
Author