mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-30 04:55:28 +02:00
fish: refresh page (#17295)
This commit is contained in:
parent
c6bf524ea5
commit
091f837f7f
1 changed files with 6 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
# fish
|
||||
|
||||
> The Friendly Interactive SHell, a command-line interpreter designed to be user friendly.
|
||||
> More information: <https://fishshell.com>.
|
||||
> More information: <https://fishshell.com/docs/current/cmds/fish.html>.
|
||||
|
||||
- Start an interactive shell session:
|
||||
|
||||
|
@ -9,11 +9,11 @@
|
|||
|
||||
- Start an interactive shell session without loading startup configs:
|
||||
|
||||
`fish --no-config`
|
||||
`fish {{[-N|--no-config]}}`
|
||||
|
||||
- Execute specific commands:
|
||||
|
||||
`fish --command "{{echo 'fish is executed'}}"`
|
||||
`fish {{[-c|--command]}} "{{echo 'fish is executed'}}"`
|
||||
|
||||
- Execute a specific script:
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
|||
|
||||
- Check a specific script for syntax errors:
|
||||
|
||||
`fish --no-execute {{path/to/script.fish}}`
|
||||
`fish {{[-N|--no-execute]}} {{path/to/script.fish}}`
|
||||
|
||||
- Execute specific commands from `stdin`:
|
||||
|
||||
|
@ -29,8 +29,8 @@
|
|||
|
||||
- Start an interactive shell session in private mode, where the shell does not access old history or save new history:
|
||||
|
||||
`fish --private`
|
||||
`fish {{[-P|--private]}}`
|
||||
|
||||
- Define and export an environmental variable that persists across shell restarts (builtin):
|
||||
|
||||
`set --universal --export {{variable_name}} {{variable_value}}`
|
||||
`set {{[-U|--universal]}} {{[-x|--export]}} {{variable_name}} {{variable_value}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue