From caa1350c972f405760de14adc649cf2ce5f3cf14 Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Thu, 23 Jun 2022 22:16:41 +0200 Subject: fix: Typo --- content/posts/2022-06-23-fish_command.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'content/posts/2022-06-23-fish_command.md') diff --git a/content/posts/2022-06-23-fish_command.md b/content/posts/2022-06-23-fish_command.md index c3c6b14..3533b86 100644 --- a/content/posts/2022-06-23-fish_command.md +++ b/content/posts/2022-06-23-fish_command.md @@ -64,7 +64,7 @@ find ~/ -type d | fzf ``` Whatever fits you better, the end goal here is to get start customizing and -optimizing your workflow so you can more comfortably moving around. +optimizing your workflow so you can more comfortably move around. Now, it is almost done we just need the check if the `selected` has value. The user can cancel the selection (e.g.: by pressing esc) and then the `selected` @@ -92,9 +92,9 @@ Then type `jumpin` and let `fzf` do the work. Now we can jump to a folder even faster by assigning a shortcut to a function and again fish comes to rescue to make our life easier. It provider a bind[^5] -function to bind (duh) sequence of characters to a function. Inside of you +function to bind (duh) sequence of characters to a function. Inside of your `~/.config/fish/` there will be a `config.fish` with a function called -`fish_user_key_bindings` which fish will automatically execute. We will use +`fish_user_key_bindings` which fish automatically executes. We will use that function (as the name implies) to bind our command to a keystroke. To do so use the bind function: @@ -113,7 +113,7 @@ won't need to type more then a couple of char making the whole process really fast. This is just a jump start to using script to make your life easier. Shell -scripting is a powerful tool for a programmer and it will definitely pay some +scripting is a powerful tool for a programmer and it will definitely pay dividends if you spend time to master it. [^1]: https://fishshell.com/ -- cgit v1.2.3