Shell命令工具-Fish
2024-01-02 13:12:26 阿炯

Fish是适用于 Linux、macOS 的命令行 Shell,其名字取于 "the friendly interactive shell" 的简称,最大特点就是方便易用、功能强大、智能并且用户友好。很多其他 Shell 需要配置才有的功能,fish 默认提供,不需要任何配置。Fish Shell采用C++语言编写开发并在MIT协议下授权。


主要特性
自动补全、开箱即用
支持丰富的 VGA 颜色
可搜索的命令历史
基于网页的配置功能
能够提升性能的内置命令。

Dependencies
a C++11 compiler (g++ 4.8 or later, or clang 3.3 or later)
CMake (version 3.5 or later)
a curses implementation such as ncurses (headers and libraries)
PCRE2 (headers and libraries) - optional, this will be downloaded if missing
gettext (headers and libraries) - optional, for translation support


最新版本:3.7
3.7 已正式于2024年1月上旬发布,其开发团队称采用 Rust 重写的工作仍在进行中,因此该版本仍然基于 C++ 编写 —— 不过也将是采用 C++ 编写的最后分支版本。3.7 系列的未来子版本均采用 C++。主要变化:
支持将 Fish 配置为等待指定的时间来完成多键序列,而不是无限期地等待
改进交互与history pager
改进命令自动补全和通配符性能
详情查看发布说明


项目主页:https://github.com/fish-shell/