开源 企业版 高校版 私有云 模力方舟 AI 队友
代码拉取完成,页面将自动刷新
加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
已有帐号? 立即登录
master
分支 (22)
标签 (63)
master
coverity_scan_master
Integration_3.1.2
Integration_3.1.1
Integration_3.1.0
Integration_3.0.3
Integration_3.0.2
Integration_3.0.1
Integration_3.0.0
Integration_2.7.1
Integration_2.7.0
Integration_2.6.0
Integration_2.5.0
Integration_2.4.0
Integration_2.3.1
Integration_2.3.0
Integration_2.2.0
Integration_2.1.2
Integration_2.1.1
Integration_2.0.1
3.1.2
3.1.1
3.1.0
3.1b1
last_autotools
last_doxygen
3.0.2
3.0.1
3.0.0
3.0b1
2.7.1
2.7.0
2.7b1
2.6.0
2.6b1
2.5.0
2.5b1
LastC++03
2.4.0
2.4b1
克隆/下载
克隆/下载
提示
下载代码请复制以下命令到终端执行
为确保你提交的代码身份被 Gitee 正确识别,请执行以下命令完成配置
初次使用 SSH 协议进行代码克隆、推送等操作时,需按下述提示完成 SSH 配置
1 生成 RSA 密钥
2 获取 RSA 公钥内容,并配置到 SSH公钥
在 Gitee 上使用 SVN,请访问 使用指南
使用 HTTPS 协议时,命令行会出现如下账号密码验证步骤。基于安全考虑,Gitee 建议 配置并使用私人令牌 替代登录密码进行克隆、推送等操作
Username for 'https://gitee.com': userName
Password for 'https://userName@gitee.com': # 私人令牌
贡献代码
同步代码
对比差异 通过 Pull Request 同步
同步更新到分支
通过 Pull Request 同步
将会在向当前分支创建一个 Pull
Request,合入后将完成同步
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
未知许可证

Build Status

fish is a smart and user-friendly command line shell for macOS, Linux, and the rest of the family. fish includes features like syntax highlighting, autosuggest-as-you-type, and fancy tab completions that just work, with no configuration required.

For more on fish’s design philosophy, see the Quick Start

fish generally works like other shells, like bash or zsh. A few important differences can be found at https://fishshell.com/docs/current/index.html

You can quickly play with fish right in your browser by clicking the button below:

Getting fish

macOS

fish can be installed:

Packages for Linux

Packages for Debian, Fedora, openSUSE, and Red Hat Enterprise Linux/CentOS are available from the fish PPA, and can be installed using the following commands:

sudo apt-add-repository ppa:fish-shell/release-3
sudo apt-get update
sudo apt-get install fish

Instructions for other distributions may be found at Windows

  • On Windows 10, fish can be installed under the WSL Windows Subsystem for Linux with the instructions for the appropriate distribution listed above under "Packages for Linux", or from source with the instructions below.
  • Fish can also be installed on all versions of Windows using Building from source

    If packages are not available for your platform, GPG-signed tarballs are available from fish-shell on GitHub. See the Building section for instructions.

    Running fish

    Once installed, run fish from your current shell to try fish out!

    Dependencies

    Running fish requires:

    • curses or ncurses (preinstalled on most *nix systems)
    • some common *nix system utilities (currently mktemp), in addition to the basic POSIX utilities (cat, cut, dirname, ls, mkdir, mkfifo, rm, sort, tee, tr, uname and sed at least, but the full coreutils plus find, sed and awk is preferred)
    • The gettext library, if compiled with translation support

    The following optional features also have specific requirements:

    • builtin commands that have the --help option or print usage messages require ul and either nroff or mandoc for display
    • automated completion generation from manual pages requires Python 3.5+
    • the fish_config web configuration tool requires Python 3.5+ and a web browser
    • system clipboard integration (with the default Ctrl-V and Ctrl-X bindings) require either the xsel, xclip, wl-copy/wl-paste or pbcopy/pbpaste utilities
    • full completions for yarn and npm require the all-the-package-names NPM module

    Switching to fish

    If you wish to use fish as your default shell, use the following command:

    chsh -s /usr/local/bin/fish
    

    chsh will prompt you for your password and change your default shell. (Substitute /usr/local/bin/fish with whatever path fish was installed to, if it differs.) Log out, then log in again for the changes to take effect.

    Use the following command if fish isn’t already added to /etc/shells to permit fish to be your login shell:

    echo /usr/local/bin/fish | sudo tee -a /etc/shells
    

    To switch your default shell back, you can run chsh -s /bin/bash (substituting /bin/bash with /bin/tcsh or /bin/zsh as appropriate).

    Building

    Dependencies

    Compiling fish requires:

    • a C++11 compiler (g++ 4.8 or later, or clang 3.3 or later)
    • CMake (version 3.2 or later)
    • a curses implementation such as ncurses (headers and libraries)
    • PCRE2 (headers and libraries) - a copy is included with fish
    • gettext (headers and libraries) - optional, for translation support

    Sphinx is also optionally required to build the documentation from a cloned git repository.

    Additionally, running the test suite requires Python 3.5+ and the pexpect package.

    Building from source (all platforms) - Makefile generator

    To install into /usr/local, run:

    mkdir build; cd build
    cmake ..
    make
    sudo make install
    

    The install directory can be changed using the -DCMAKE_INSTALL_PREFIX parameter for cmake.

    Building from source (macOS) - Xcode

    mkdir build; cd build
    cmake .. -G Xcode
    

    An Xcode project will now be available in the build subdirectory. You can open it with Xcode, or run the following to build and install in /usr/local:

    xcodebuild
    xcodebuild -scheme install
    

    The install directory can be changed using the -DCMAKE_INSTALL_PREFIX parameter for cmake.

    Help, it didn’t build!

    If fish reports that it could not find curses, try installing a curses development package and build again.

    On Debian or Ubuntu you want:

    sudo apt-get install build-essential cmake ncurses-dev libncurses5-dev libpcre2-dev gettext
    

    On RedHat, CentOS, or Amazon EC2:

    sudo yum install ncurses-devel
    

    Contributing Changes to the Code

    See the Guide for Developers.

    Contact Us

    Questions, comments, rants and raves can be posted to the official fish mailing list at gitter.im channel. Or use the fish tag on Superuser for all other questions (e.g., customizing colors, changing key bindings).

    Found a bug? Have an awesome idea? Please /klesh/fish-shell

README
未知许可证
查看未知开源许可协议
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
编辑仓库简介
简介内容
主页
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/klesh/fish-shell.git
git@gitee.com:klesh/fish-shell.git
klesh
fish-shell
fish-shell
master
点此查找更多帮助

搜索帮助

评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册

AltStyle によって変換されたページ (->オリジナル) /