Skip to content

activate.fish: update fish major version check #2891

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

r5d
Copy link

@r5d r5d commented May 24, 2025

Use fish's string sub command to get fish's major version from
$FISH_VERSION.

The head program in OpenBSD does not have the -c flag.

Addresses #2892.

@gaborbernat gaborbernat enabled auto-merge May 27, 2025 14:42
Use fish's [`string sub`][ss] command to get fish's major version from
`$FISH_VERSION`.

The [`head`][head] program in OpenBSD does not have the `-c` flag.

Addresses pypa#2892.

[head]: https://man.openbsd.org/head
[ss]: https://fishshell.com/docs/current/cmds/string.html#sub-subcommand
auto-merge was automatically disabled May 28, 2025 23:07

Head branch was pushed to by a user without write access

@r5d r5d force-pushed the activate-fish-openbsd branch from 24f90bb to 55caf36 Compare May 28, 2025 23:07
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.

2 participants