mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-31 04:37:57 +01:00
fish: add page
Added the fish shell. Information included was based on other shells, notably bash.
This commit is contained in:
parent
bb68b14170
commit
928ff1b873
1 changed files with 27 additions and 0 deletions
27
pages/common/fish.md
Normal file
27
pages/common/fish.md
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# fish
|
||||||
|
|
||||||
|
> A command-line shell for the 90's
|
||||||
|
|
||||||
|
- Start interactive shell:
|
||||||
|
|
||||||
|
`fish`
|
||||||
|
|
||||||
|
- Execute a command:
|
||||||
|
|
||||||
|
`fish -c "{{command}}"`
|
||||||
|
|
||||||
|
- Run commands from a file:
|
||||||
|
|
||||||
|
`fish {{file.fish}}`
|
||||||
|
|
||||||
|
- Check a file for syntax:
|
||||||
|
|
||||||
|
`fish --no-execute {{file.fish}}`
|
||||||
|
|
||||||
|
- Display version information and exit:
|
||||||
|
|
||||||
|
`fish --version`
|
||||||
|
|
||||||
|
- Enable debug information (ranges from 0 to 128):
|
||||||
|
|
||||||
|
`fish --debug-stack-frames={{NUMBER}}`
|
Loading…
Reference in a new issue