fish: refresh page (#7987)
* Refresh a page: - better grammar - better token syntax * Add reading commands from stdin sample
This commit is contained in:

committed by
GitHub

parent
9fad185656
commit
57aac78e0d
@@ -11,18 +11,22 @@
|
||||
|
||||
`fish --no-config`
|
||||
|
||||
- Execute a command:
|
||||
- Execute specific commands:
|
||||
|
||||
`fish --command "{{command}}"`
|
||||
`fish --command "{{echo 'fish is executed'}}"`
|
||||
|
||||
- Execute a script:
|
||||
- Execute a specific script:
|
||||
|
||||
`fish {{path/to/script.fish}}`
|
||||
|
||||
- Check a script for syntax errors:
|
||||
- Check a specific script for syntax errors:
|
||||
|
||||
`fish --no-execute {{path/to/script.fish}}`
|
||||
|
||||
- Execute specific commands from stdin:
|
||||
|
||||
`{{echo "echo 'fish is executed'"}} | fish`
|
||||
|
||||
- Start an interactive shell session in private mode, where the shell does not access old history or save new history:
|
||||
|
||||
`fish --private`
|
||||
@@ -30,7 +34,3 @@
|
||||
- Define and export an environmental variable that persists across shell restarts (builtin):
|
||||
|
||||
`set --universal --export {{variable_name}} {{variable_value}}`
|
||||
|
||||
- Print the version:
|
||||
|
||||
`fish --version`
|
||||
|
Reference in New Issue
Block a user