gpt4 book ai didi

fish - 如何设置 oh-my-fish 主题

转载 作者:行者123 更新时间:2023-12-04 03:13:35 25 4
gpt4 key购买 nike

我已经安装了 oh-my-fish 和 bobthefish,我想使用 bobthefish 主题,我按照他的建议将 Theme bobthefish 放入我的 ~/.config/fish/config.fish 并运行 omf install ,但它报告了一个错误:

fish: Unknown command 'Theme bobthefish'
~/.config/fish/config.fish (line 19): Theme bobthefish
^
from sourcing file ~/.config/fish/config.fish
called during startup

这是我的 config.fish :
# Path to your oh-my-fish.
set -g OMF_PATH $HOME/.local/share/omf

# Path to your oh-my-fish configuration.
set -g OMF_CONFIG $HOME/.config/omf

fish_vi_mode
set --export EDITOR "vim"


### Configuration required to load oh-my-fish ###
# Note: Only add configurations that are required to be set before oh-my-fish is loaded.
# For common configurations, we advise you to add them to your $OMF_CONFIG/init.fish file or
# to create a custom plugin instead.

# Load oh-my-fish configuration.
source $OMF_PATH/init.fish

Theme bobthefish

最佳答案

我是 Oh My Fish 的贡献者之一。

我强烈建议您通过全新安装从以前的版本升级。请按照 Oh My Fish 存储库的 README 文件中的升级说明进行操作。

全新安装后,只需发出 omf install bobthefish 即可进入主题。

如果您仍然需要帮助,请随时加入我们的 Slack 并提高您的声音!

关于fish - 如何设置 oh-my-fish 主题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32497744/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com