升级fish版本时的奇怪报错--未解决

258 阅读1分钟

linux,deepin,fish 为了检查一下昨天内核升级失败的处理情况,apt update了一下,似乎异常内核已经撤销了。
但是fish有了一个新版本,尝试更新,结果报错了,还不确定是否有影响,先记录一下

sudo apt install fish

/usr/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 /usr/share/fish/functions/fish_title.fish
in command substitution
source:读取文件 “/usr/share/fish/functions/fish_title.fish” 时发生错误