1
0
Fork 0
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:
Managor 2025-07-21 19:38:13 +03:00 committed by GitHub
parent c6bf524ea5
commit 091f837f7f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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}}`