我的fish conf (..config/fish/config.fish)
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
如果删除主题和设置,则会导致:
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和所有文件,然后重新安装,错误就会不断发生.我怎么能解决这个问题?
发布于 2014-09-16 19:37:03
vi绑定在即将发布的版本中,但尚未公开发布。这就是为什么你会犯错误。
如果您想让vi绑定工作并且愿意生活在边缘,您可以从树干上安装最新的鱼。如果您使用的是自制软件,请运行brew install fish --HEAD。或者,如果你喜欢用老式的方式来做,那就有在这里构建说明。
或者,如果您喜欢继续使用最新的公开发行版,可以理解,您应该从fish_vi_key_bindings中删除这些行。
https://stackoverflow.com/questions/25876432
复制相似问题