diff --git a/README.md b/README.md index 68163ea..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 @@ -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 @@ -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.