From 0bb65bd69deb8d4b900d0c8ce9201c65249dbb0f Mon Sep 17 00:00:00 2001 From: lumynou5 Date: Thu, 1 Jun 2023 15:38:20 +0800 Subject: [PATCH 1/3] Remove code for version number --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 68163ea..15f8b65 100644 --- a/README.md +++ b/README.md @@ -903,7 +903,7 @@ end ### Synchronize Background Tasks in Fish Like a Pro -Fish `3.0.0` introduced a dedicated [`wait`](https://fishshell.com/docs/current/cmds/wait.html) builtin for easy synchronization of background tasks. But if you're curious about how it was done before `wait` existed, here's a throwback recipe for you. +Fish 3.0.0 introduced a dedicated [`wait`](https://fishshell.com/docs/current/cmds/wait.html) builtin for easy synchronization of background tasks. But if you're curious about how it was done before `wait` existed, here's a throwback recipe for you. First, to check if tasks are running in the background, parse the output from the [`jobs`](https://fishshell.com/docs/current/cmds/jobs.html) builtin. From e2c1a75220cb48d22624c62c89b39d4685fa2179 Mon Sep 17 00:00:00 2001 From: lumynou5 Date: Fri, 2 Jun 2023 08:15:11 +0800 Subject: [PATCH 2/3] Add code for paths Wrap paths with code elements so that they're more readable and separate from punctuations in the text. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 15f8b65..46d92bd 100644 --- a/README.md +++ b/README.md @@ -553,7 +553,7 @@ function mkdirp end ``` -To make sure this function stays fresh in future Fish sessions, save it to ~/.config/fish/functions/mkdirp.fish. A neat way to accomplish this is by using the [`funcsave`](https://fishshell.com/docs/current/cmds/funcsave.html) function. +To make sure this function stays fresh in future Fish sessions, save it to `~/.config/fish/functions/mkdirp.fish`. A neat way to accomplish this is by using the [`funcsave`](https://fishshell.com/docs/current/cmds/funcsave.html) function. ```fish funcsave mkdirp @@ -597,7 +597,7 @@ This workaround helps you keep some Fish functions under wraps, like a top-secre Absolutely! Fish's [lazy-loading / autoloading](https://fishshell.com/docs/current/tutorial.html#autoloading-functions) mechanism depends on this match made in heaven. -If you have a file ~/.config/fish/functions/foo.fish with a valid function definition `bar`: +If you have a file `~/.config/fish/functions/foo.fish` with a valid function definition `bar`: 1. In a new shell, trying to run `bar` produces an unknown-command error. 2. Typing `foo` will highlight as a valid command, but produce an unknown-command error. @@ -606,7 +606,7 @@ If you have a file ~/.config/fish/functions/foo.fish with a valid function defin
Show me the magic! -Save `bar` to ~/.config/fish/functions/foo.fish. +Save `bar` to `~/.config/fish/functions/foo.fish`. ```fish function bar From c7496883d3ea6fc523c47e700d0bf55e2b50bc27 Mon Sep 17 00:00:00 2001 From: lumynou5 Date: Thu, 3 Aug 2023 15:54:35 +0800 Subject: [PATCH 3/3] Add code for a missing path --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 46d92bd..33d770a 100644 --- a/README.md +++ b/README.md @@ -149,7 +149,7 @@ With Fish installed, a thrilling journey lies ahead. Gear up to explore the comm ### Making Fish Your Default Shell, Ahoy! -Once you've installed Fish and it's safely located in your `$PATH`, for example, at /usr/local/bin, you can make it your default shell for a smooth sailing command line experience. +Once you've installed Fish and it's safely located in your `$PATH`, for example, at `/usr/local/bin`, you can make it your default shell for a smooth sailing command line experience. ```fish echo /usr/local/bin/fish | sudo tee -a /etc/shells