From 016b93c7f225280840c44dd797319deaff8f1a81 Mon Sep 17 00:00:00 2001 From: "Cam.Rossington.debsrv" Date: Tue, 2 Jan 2018 12:50:48 -0500 Subject: [PATCH 1/3] Added Fish shell. Added commands for the Fish shell. The information included was based off of the information available for other shells, notably bash. --- pages/common/fish.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pages/common/fish.md diff --git a/pages/common/fish.md b/pages/common/fish.md new file mode 100644 index 0000000000..4fc64de0ec --- /dev/null +++ b/pages/common/fish.md @@ -0,0 +1,27 @@ +# fish + +> A command-line shell for the 90's + +- Start interactive shell: + +`fish` + +- Execute a command: + +`fish -c "{{command}}"` + +- Run commands from a file: + +`fish {{file.fish}}` + +- Check a file for syntax: + +`fish --no-execute {{file.fish}}` + +- Display version information and exit: + +`fish --version` + +- Enable debug information: + +`fish -D {{DEBUG_LEVEL}}` From 26b6092bb6cf920d543464455d415f1d7e91ae40 Mon Sep 17 00:00:00 2001 From: "Cam.Rossington.debsrv" Date: Tue, 2 Jan 2018 12:55:19 -0500 Subject: [PATCH 2/3] Updated fish shell to use long version of debug command. --- pages/common/fish.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/fish.md b/pages/common/fish.md index 4fc64de0ec..aab5e11c94 100644 --- a/pages/common/fish.md +++ b/pages/common/fish.md @@ -22,6 +22,6 @@ `fish --version` -- Enable debug information: +- Enable debug information (ranges from 0 to 128): -`fish -D {{DEBUG_LEVEL}}` +`fish -debug-stack-frames={{NUMBER}}` From ef8010eadc993de71b78d92a3d9e8eb78ca39289 Mon Sep 17 00:00:00 2001 From: deoxys314 Date: Tue, 2 Jan 2018 12:58:18 -0500 Subject: [PATCH 3/3] Corrected debug command. --- pages/common/fish.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/fish.md b/pages/common/fish.md index aab5e11c94..664e0ad045 100644 --- a/pages/common/fish.md +++ b/pages/common/fish.md @@ -24,4 +24,4 @@ - Enable debug information (ranges from 0 to 128): -`fish -debug-stack-frames={{NUMBER}}` +`fish --debug-stack-frames={{NUMBER}}`