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

尝试为fish外壳安装budspencer主题时出错
EN

Stack Overflow用户
提问于 2014-09-16 18:57:28
回答 1查看 1.4K关注 0票数 0

我的fish conf (..config/fish/config.fish)

代码语言:javascript
复制
set -e fish_key_bindings
set -U fish_key_bindings fish_vi_key_bindings
set fish_path $HOME/.oh-my-fish
set fish_theme budspencer
. $fish_path/oh-my-fish.fish

结果出错:https://gist.github.com/LuizCarvalho/925de989c306828a410a

如果删除主题和设置,则会导致:

代码语言:javascript
复制
  desenvolvimento@dp-inf015:~$ fish
  Welcome to fish, the friendly interactive shell
  Type help for instructions on how to use fish
  fish: Unknown command “fish_vi_key_bindings”
  Standard input: begin; fish_vi_key_bindings ;end 
                         ^
  in . (source) call of file “-”, 
    called on standard input,

  in function “__fish_reload_key_bindings”,
    called on line 209 of file “/usr/share/fish/functions/__fish_config_interactive.fish”,

  in function “__fish_config_interactive”,
    called on line 108 of file “/usr/share/fish/config.fish”,

  in function “__fish_on_interactive”,
    called on standard input,

  in event handler: handler for generic event “fish_prompt”

如果我卸载了fish,噢-我的-fish和所有文件,然后重新安装,错误就会不断发生.我怎么能解决这个问题?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-09-16 19:37:03

vi绑定在即将发布的版本中,但尚未公开发布。这就是为什么你会犯错误。

如果您想让vi绑定工作并且愿意生活在边缘,您可以从树干上安装最新的鱼。如果您使用的是自制软件,请运行brew install fish --HEAD。或者,如果你喜欢用老式的方式来做,那就有在这里构建说明

或者,如果您喜欢继续使用最新的公开发行版,可以理解,您应该从fish_vi_key_bindings中删除这些行。

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/25876432

复制
相关文章

相似问题

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