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

sf autocomplete instructions failing for fish shell #2658

Closed
jmssmth opened this issue Jan 19, 2024 · 2 comments
Closed

sf autocomplete instructions failing for fish shell #2658

jmssmth opened this issue Jan 19, 2024 · 2 comments
Labels
investigating We're actively investigating this issue validated Version information for this issue has been validated

Comments

@jmssmth
Copy link

jmssmth commented Jan 19, 2024

Summary

sf autocomplete instructions failing for fish shell

Steps To Reproduce

using fish shell on a macos 14.2.1 (silicon), successfully installed latest sf platform binary (2.24.4). sf autocomplete output states:

  1. Add the autocomplete env var to your fish profile and source it...
    $ printf "eval $(sf autocomplete script fish)" >> ~/.fishrc; source ~/.fishrc

Expected result

not sure, first time updating to sf v2 so not sure what success for this command looks like

Actual result

The sf autocomplete fails producing this output:

› Error: Expected fish to be one of: zsh, bash, powershell
› See more help with --help

Sidenote: why instruct the use of a fish config file (.fishrc) that isn't even in the fish configuration documentation? It should be config.fish instead.

System Information

fish shell version 3.7.0

{
  "architecture": "darwin-arm64",
  "cliVersion": "@salesforce/cli/2.24.4",
  "nodeVersion": "node-v20.10.0",
  "osVersion": "Darwin 23.2.0",
  "rootPath": "/usr/local/lib/sf",
  "shell": "fish",
  "pluginVersions": [
    "@oclif/plugin-autocomplete 3.0.5 (core)",
    "@oclif/plugin-commands 3.1.0 (core)",
    "@oclif/plugin-help 6.0.10 (core)",
    "@oclif/plugin-not-found 3.0.8 (core)",
    "@oclif/plugin-plugins 4.1.15 (core)",
    "@oclif/plugin-search 1.0.11 (core)",
    "@oclif/plugin-update 4.1.7 (core)",
    "@oclif/plugin-version 2.0.11 (core)",
    "@oclif/plugin-warn-if-update-available 3.0.9 (core)",
    "@oclif/plugin-which 3.0.14 (core)",
    "@salesforce/cli 2.24.4 (core)",
    "apex 3.0.17 (core)",
    "auth 3.2.0 (core)",
    "data 3.0.14 (core)",
    "deploy-retrieve 3.1.0 (core)",
    "info 3.0.15 (core)",
    "limits 3.1.2 (core)",
    "marketplace 1.0.16 (core)",
    "org 3.2.2 (core)",
    "packaging 2.1.0 (core)",
    "schema 3.1.0 (core)",
    "settings 2.0.15 (core)",
    "sobject 1.1.0 (core)",
    "source 3.1.3 (core)",
    "telemetry 3.1.9 (core)",
    "templates 56.0.9 (core)",
    "trust 3.3.1 (core)",
    "user 3.2.1 (core)"
  ]
}
@jmssmth jmssmth added the investigating We're actively investigating this issue label Jan 19, 2024
Copy link

Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.

@github-actions github-actions bot added the validated Version information for this issue has been validated label Jan 19, 2024
@shetzel
Copy link
Contributor

shetzel commented Jan 19, 2024

This is a duplicate of oclif/plugin-autocomplete#3
Also see: oclif/plugin-autocomplete#175

There's no support yet. Feel free to contribute to the conversation there and/or the PR.

@shetzel shetzel closed this as completed Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigating We're actively investigating this issue validated Version information for this issue has been validated
Projects
None yet
Development

No branches or pull requests

2 participants