type
status
date
slug
summary
tags
category
icon
password

安装Fish Shell并将fish设置为默认终端

 
更改默认Shell为Fish,使用`chsh`命令: chsh -s /usr/bin/fish
 
然后我在配置文件 ~/.config/fish/config.fish 中设置了这些
在安装了herd字体后,我们来安装oh my posh主题
对于linux

修改终端配置文件

确定 Oh my posh 已经安装成功后,读者可以提前到项目官网的 主题页面 预览内置主题的效果,记下需要使用的主题在本地的路径。以 amro 主题为例,使用不同安装方式得到的主题路径参考下表:
macOS Brew
~/.poshthemes/amro.omp.json
GNU/Linux 命令行
~/.poshthemes/amro.omp.json
notion image
在fish的配置文件中加入 oh-my-posh init fish --config ~/.poshthemes/amro.omp.json | source 即可更换主题。
 
当然你也可以选自己喜欢的主题,
notion image
notion image
notion image
notion image
我选择了1_shell主题
notion image
 
高效利用Vim梳理 Retrieval-Augmented Generation for Large Language Models: A Survey