113 字
1 分钟
fish 插件
前言
我的配置可以在 GitHub 找到。
插件管理器
curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher
插件
# 主题fisher install lollipopkit/hydro# 添加 sudo 前缀fisher install oh-my-fish/plugin-sudope# 解压fisher install oh-my-fish/plugin-extract# 跳转fisher install jethrokuan/z# 自动清除错误命令历史fisher install meaningful-ooo/sponge
设置
# 关闭欢迎语set -U fish_greeting ""# 设置主题set -U hydro_symbol_prompt '>'set -U hydro_symbol_git_dirty '!'set -U hydro_color_pwd BB2D6Fset -U hydro_color_prompt BB2D6F# 设置 sudo 前缀为 ctrl+sset -g sudope_sequence \cs