Microsoft/vscode
在 GitHub 查看Shell integration breaks prompt when using Fish shell with Tide prompt
Open
#187,185 创建于 2023年7月6日
bughelp wantedterminal-shell-fish
仓库指标
- Star
- (74,848 star)
- PR 合并指标
- (平均合并 11小时 43分钟) (30 天内合并 1,000 个 PR)
描述
- VS Code Version: 1.80.0 (Universal)
- OS Version: macOS 13.4.1 (22F82)
Steps to Reproduce
- Set Fish as the default shell for your system.
- Install the Tide prompt.
- 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
-
Shell integration enabled, Tide not installed
-
Shell integration enabled, Tide installed (prompt broken)