Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#64871 closed defect (worksforme)

fish @3.4.0: Error sourcing fish_title.sh

Reported by: evanmiller (Evan Miller) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: tsabirgaliev (Tair Sabirgaliev)
Port: fish

Description

After upgrading, I see:

/opt/local/share/fish/functions/fish_title.fish (line 7): $(...) is not supported. In fish, please use '(prompt_hostname)'.
        and set ssh "[$(prompt_hostname | string sub -l 10)]"
                      ^
from sourcing file /opt/local/share/fish/functions/fish_title.fish
in command substitution
source: Error while reading file “/opt/local/share/fish/functions/fish_title.fish”

Change History (4)

comment:1 Changed 2 years ago by tsabirgaliev (Tair Sabirgaliev)

@evanmiller are you sure you are running fish version 3.4.0? accepting $() expressions is one of the enhancements specific to 3.4.0 release

comment:2 Changed 2 years ago by evanmiller (Evan Miller)

A reboot seems to have fixed it. Maybe /usr/bin/login was opening the old binary for some reason? I'm not sure. In any event, I guess this can be closed. Thanks for the quick attention.

comment:3 Changed 2 years ago by kencu (Ken)

Resolution: worksforme
Status: newclosed

comment:4 Changed 2 years ago by tsabirgaliev (Tair Sabirgaliev)

Note: See TracTickets for help on using tickets.