#12964·fish-shell

不需要的 `fish_function_path` 全缓存失效

作者: Drazape创建于 2026年9月1日更新于 2026年9月2日

版本: 4.8.1

为了在 Nix 中实现可重现性和依赖管理自动化,我有一个程序,它会将其依赖的 Fish 程序的 Nix 存储路径前缀为 $fish_function_path, 并在稍后恢复路径。 这个程序由每次 shell 启动时执行的辅助命令执行 100 次。

内容来源: fish-shell/fish-shell