首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装fish外壳的budspencer主题时出错

安装fish外壳的budspencer主题时出错
EN

Stack Overflow用户
提问于 2016-10-03 03:02:42
回答 1查看 498关注 0票数 0

我想把Budspencer的主题安装在我的鱼壳里。但是当我这样做的时候,我继续得到下面的错误

代码语言:javascript
复制
    Last login: Sun Oct  2 19:55:45 on ttys000
    Variables may not be used as commands. In fish, please define a function or use 'eval $budspencer_colors[10]'.
    ~/.local/share/omf/themes/budspencer/fish_greeting.fish (line 2):       $budspencer_colors[10]
                                                                            ^
    in command substitution
        called on line 19 of file ~/.local/share/omf/themes/budspencer/fish_greeting.fish

    in function 'fish_greeting'
        called on line 123 of file /usr/local/Cellar/fish/HEAD-53f1eba/share/fish/functions/__fish_config_interactive.fish

    in function '__fish_config_interactive'
        called on line 180 of file /usr/local/Cellar/fish/HEAD-53f1eba/share/fish/config.fish

    in function '__fish_on_interactive'
        called on standard input

    in event handler: handler for generic event 'fish_prompt'

    This is budspencer theme for fish, a theme for nerds.
    Type »budspencer_help« in order to see how you can speed up your workflow.
     1  ✔ 

我尝试了Budspencer对OSX用户的建议,但这并没有解决我的问题:

代码语言:javascript
复制
brew install --with-default-names gnu-sed
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2016-10-03 03:13:06

我在这里找到了答案:https://github.com/oh-my-fish/theme-budspencer/issues/37

更改fish_greeting.fish第27行

代码语言:javascript
复制
echo This is (set_color -b $budspencer_colors[2] 

代码语言:javascript
复制
echo This is (set_color -b $budspencer_colors[2] \
票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/39824046

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档