Skip to content

Shell integration breaks prompt when using Fish shell with Tide prompt #187185

Open
@jaminthorns

Description

  • VS Code Version: 1.80.0 (Universal)
  • OS Version: macOS 13.4.1 (22F82)

Steps to Reproduce

  1. Set Fish as the default shell for your system.
  2. Install the Tide prompt.
  3. Observe broken prompt and error messages when starting an integrated terminal:
fish: Unknown command: '_tide_item_pwd git'
~/.config/fish/functions/_tide_1_line_prompt.fish (line 4): 
        _tide_item_$item
        ^~~~~~~~~~~~~~~^
in function '_tide_1_line_prompt'
in command substitution
fish: Unknown command: '_tide_item_status cmd_duration context jobs'
~/.config/fish/functions/_tide_1_line_prompt.fish (line 11): 
        _tide_item_$item
        ^~~~~~~~~~~~~~~^
in function '_tide_1_line_prompt'
in command substitution

Screenshots

  • Shell integration disabled, Tide installed

    Screenshot 2023-07-06 at 2 03 59 PM
  • Shell integration enabled, Tide not installed

    Screenshot 2023-07-06 at 2 04 59 PM
  • Shell integration enabled, Tide installed (prompt broken)

    Screenshot 2023-07-06 at 2 04 13 PM

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesterminal-shell-fishAn issue in the terminal specific to fish, including shell integration

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions