From 091f837f7f98016846c98f79c1565d97abd29d11 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Mon, 21 Jul 2025 19:38:13 +0300 Subject: [PATCH] fish: refresh page (#17295) --- pages/common/fish.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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}}`