string: shorten: invalid subcommand
rackodo opened this issue · 4 comments
rackodo commented
Describe the bug
Entire prompt broken by invalid subcommand
Upon making a newline, this error block appears.
string: shorten: invalid subcommand
~/.config/fish/functions/_tide_item_git.fish (line 2):
if git branch --show-current 2>/dev/null | string shorten -"$tide_git_truncation_strategy"m$tide_git_truncation_length | read -l location
^
in function '_tide_item_git'
called on line 4 of file ~/.config/fish/functions/_tide_2_line_prompt.fish
in function '_tide_2_line_prompt'
in command substitution
Steps to reproduce
- Install using fisher.
- See error
Screenshots
Environment
Output of tide bug-report
:
fish version: 3.6.1 (edit: updated from 3.5.1)
tide version: 6.0.1
term: xterm-256color
os: macOS Sonoma 14.0
terminal emulator: iTerm
fish startup: 19.34 millis
fisher plugins: jorgebucaran/fisher dracula/fish ilancosman/tide@v6
Additional context
IlanCosman commented
Old fish version
rackodo commented
My fish version is 3.6.1. Isn't that the latest version?
IlanCosman commented
Your tide bug-report
says 3.5.1.
rackodo commented
My mistake. Reinstalled fish, now it's fine. Thanks 👍🏻