diff --git a/pages/common/fish.md b/pages/common/fish.md index c65ce9f177..8ff5899685 100644 --- a/pages/common/fish.md +++ b/pages/common/fish.md @@ -1,7 +1,7 @@ # fish > The Friendly Interactive SHell, a command-line interpreter designed to be user friendly. -> More information: . +> More information: . - 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}}`