mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 09:02:08 +02:00
Added Fish shell.
Added commands for the Fish shell. The information included was based off of the information available for other shells, notably bash.
This commit is contained in:
parent
bb68b14170
commit
016b93c7f2
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:
|
||||||
|
|
||||||
|
`fish -D {{DEBUG_LEVEL}}`
|
Loading…
Add table
Reference in a new issue