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

deprecated syntax removed #4736

Merged
merged 2 commits into from
Jul 1, 2021
Merged

deprecated syntax removed #4736

merged 2 commits into from
Jul 1, 2021

Conversation

vzaliva
Copy link
Contributor

@vzaliva vzaliva commented Jun 29, 2021

According to https://fishshell.com/docs/current/index.html#id4
"Previous versions of fish also allowed specifying this as ^DESTINATION, but that made another character special so it was deprecated and will be removed in the future."

fish version 3.3.0 by default gives an error on old syntax

According to https://fishshell.com/docs/current/index.html#id4 
"Previous versions of fish also allowed specifying this as ^DESTINATION, but that made another character special so it was deprecated and will be removed in the future."

fish version 3.3.0 by default gives an error on old syntax
@rjbou
Copy link
Collaborator

rjbou commented Jun 30, 2021

Thanks for the update. Does 2> is full valid syntax for fish < 3.3.0 ?

@rjbou rjbou added this to the 2.2.0~alpha milestone Jun 30, 2021
@vzaliva
Copy link
Contributor Author

vzaliva commented Jun 30, 2021

I am a relatively new fish user and not sure about older versions. However, from the comment in their documentation, it seems it was supported all along with ^ being just a shortcut which they deprecated.

@rjbou
Copy link
Collaborator

rjbou commented Jun 30, 2021

tested with fish 3.1.2, and seems ok.

@dra27 dra27 linked an issue Jul 1, 2021 that may be closed by this pull request
@rjbou rjbou merged commit 93988b5 into ocaml:master Jul 1, 2021
@vzaliva vzaliva deleted the patch-1 branch July 1, 2021 15:53
@smorimoto
Copy link
Member

This seems worth backporting to 2.0.9 and 2.1.0 as well. In fact, I found this after updating fish today and reinit didn't fix the error, so I got here.

@kit-ty-kate
Copy link
Member

kit-ty-kate commented Jul 3, 2021

I just opened #4743 and #4744 to backport to the older branches.

rjbou added a commit that referenced this pull request Jul 19, 2021
rjbou added a commit that referenced this pull request Jul 20, 2021
Backport #4736 to the 2.1 branch: fix fish deprecated syntax
@TonalidadeHidrica
Copy link

@kit-ty-kate Thanks for the backport! Could you just fix your comment "4743 and 4743" to "4743 and 4744" for easy reference?

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.

Use of caret in src/state/shellscripts/env_hook.fish broken in fish 3.3.0
5 participants