Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for fish and tcsh shells #1347

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

add support for fish and tcsh shells #1347

wants to merge 2 commits into from

Conversation

limeytexan
Copy link
Contributor

@limeytexan limeytexan commented Apr 20, 2024

Proposed Changes

This PR adds support for the fish and tcsh shells based on the refactoring of flox activate performed in #1299.

Also removed posixIfThen and posixSetEnv C++ macros no longer required since merging PR#1299.

Release Notes

  • Added support for fish and tcsh shells.

@limeytexan limeytexan force-pushed the fish-and-tcsh branch 2 times, most recently from d05824d to fa5fd87 Compare April 23, 2024 10:48
@limeytexan limeytexan force-pushed the issue-1187 branch 2 times, most recently from 3c3e633 to f9caf58 Compare April 23, 2024 11:51
@limeytexan limeytexan force-pushed the fish-and-tcsh branch 3 times, most recently from 1071e76 to 65e11a2 Compare April 23, 2024 16:48
@limeytexan limeytexan force-pushed the issue-1187 branch 4 times, most recently from 779a4b9 to 67a0e41 Compare April 30, 2024 17:18
Base automatically changed from issue-1187 to main April 30, 2024 17:20
@limeytexan limeytexan force-pushed the fish-and-tcsh branch 3 times, most recently from 3118022 to d4d4a0b Compare May 22, 2024 17:43
@limeytexan limeytexan marked this pull request as ready for review May 22, 2024 17:55
@mkenigs mkenigs requested a review from dcarley May 22, 2024 18:55
@limeytexan limeytexan force-pushed the fish-and-tcsh branch 2 times, most recently from 7c03ba1 to 44b7b6d Compare May 23, 2024 12:34
The perils of creating our own quoting function is that we're destined
to repeat lessons of the past, but of course the advantage is that we have
more precise control of the outcome. This patch adds logic to similarly
escape the backtick (`) character. (I rather suspect our next step will
be to escape the single quote ('), followed by conditional logic to avoid
escaping when within them.)
Following PR#1299 it was fairly straightforward to add support for the
fish and tcsh shells. This patch adds this support along with tests that
mirror those that already exist for bash and zsh.

Also removed `posixIfThen` and `posixSetEnv` C++ macros no longer required
since merging PR#1299.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant