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/8] 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/8] 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/8] 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}}` From 928ff1b873213f9927c29d757305eabe0f39489e Mon Sep 17 00:00:00 2001 From: "Cam.Rossington.debsrv" Date: Tue, 2 Jan 2018 13:00:12 -0500 Subject: [PATCH 4/8] fish: add page Added the fish shell. Information included was based on 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..664e0ad045 --- /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 (ranges from 0 to 128): + +`fish --debug-stack-frames={{NUMBER}}` From a2389f17d30a3462209b42f26d5e65ac9dfb1510 Mon Sep 17 00:00:00 2001 From: "Cam.Rossington.debsrv" Date: Tue, 2 Jan 2018 17:37:35 -0500 Subject: [PATCH 5/8] Changed command description to match standards. --- 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 664e0ad045..d6ed99b211 100644 --- a/pages/common/fish.md +++ b/pages/common/fish.md @@ -1,6 +1,6 @@ # fish -> A command-line shell for the 90's +> A command-line shell designed to be user firendly. - Start interactive shell: From 7a1992c4c10836fd93fb836117c4fb4234f73f63 Mon Sep 17 00:00:00 2001 From: "Cam.Rossington.debsrv" Date: Tue, 2 Jan 2018 23:34:17 -0500 Subject: [PATCH 6/8] Made changes suggested by agnivade. --- pages/common/fish.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pages/common/fish.md b/pages/common/fish.md index d6ed99b211..2d5ca48dc7 100644 --- a/pages/common/fish.md +++ b/pages/common/fish.md @@ -1,6 +1,7 @@ # fish -> A command-line shell designed to be user firendly. +> Friendly Interactive SHell +> A command-line interpreter designed to be user firendly. - Start interactive shell: @@ -21,7 +22,3 @@ - Display version information and exit: `fish --version` - -- Enable debug information (ranges from 0 to 128): - -`fish --debug-stack-frames={{NUMBER}}` From b319373dabb5ef4c3d247b46538ccecb66c4b802 Mon Sep 17 00:00:00 2001 From: "Cam.Rossington.debsrv" Date: Tue, 2 Jan 2018 23:36:52 -0500 Subject: [PATCH 7/8] Added period to end of description. This change is made to comply with formatting guidelines for the project. --- 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 2d5ca48dc7..51da0d45b5 100644 --- a/pages/common/fish.md +++ b/pages/common/fish.md @@ -1,6 +1,6 @@ # fish -> Friendly Interactive SHell +> The Friendly Interactive SHell. > A command-line interpreter designed to be user firendly. - Start interactive shell: From 95372fdd56aace95d7232af66352b674923d1c0e Mon Sep 17 00:00:00 2001 From: "Cam.Rossington.debsrv" Date: Fri, 5 Jan 2018 21:19:37 -0500 Subject: [PATCH 8/8] Changed wording on --no-execute to read more cleanly. --- 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 51da0d45b5..ac7fe2700e 100644 --- a/pages/common/fish.md +++ b/pages/common/fish.md @@ -15,7 +15,7 @@ `fish {{file.fish}}` -- Check a file for syntax: +- Check a file for syntax errors: `fish --no-execute {{file.fish}}`