mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-11 21:05:20 +08:00

Aim is to allow an existing function to be renamed, allowing some basic function chaining. Example: > function foo echo Hello end > foo Hello > functions --rename foo bar > foo fish: Unknown command 'foo' > bar Hello > functions --rename fish_prompt old_prompt > function fish_prompt printf "{Boo!}%s" (old_prompt) end {Boo!}> Note in the last case, the new fish_prompt is calling its old definition.
How to find documentation for fish ================================== The fish documentation is distributed in an intermediate format. To view it, you have to type: % make user_doc Which will create the directory user_doc, containing html documentation for fish. If you build and install fish, the documentation will be available through the 'help' builtin. After installation, you can start fish by typing fish in the terminal. After fish has started, try using the help command for more information.
Languages
Rust
71.3%
Shell
19.5%
Python
5.8%
CMake
1.4%
JavaScript
0.5%
Other
1.2%