Skip to content

Commit

Permalink
Update src/contents/posts/unveiling-fish-x-and-fish-fzf
Browse files Browse the repository at this point in the history
  • Loading branch information
y3owk1n authored Jan 6, 2024
1 parent e7766d2 commit a83c20f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/contents/posts/unveiling-fish-x-and-fish-fzf/content.mdoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Embarking on a recent journey from Zsh to Fish shell has been nothing short of transformative. The allure of Fish shell's user-friendly syntax, auto-suggestions, and scripting prowess captivated me, leading to the creation of two plugins that have become integral to my command-line experience: [fish-x](https://github.com/y3owk1n/fish-x) and fish-fzf.
Embarking on a recent journey from Zsh to Fish shell has been nothing short of transformative. The allure of Fish shell's user-friendly syntax, auto-suggestions, and scripting prowess captivated me, leading to the creation of two plugins that have become integral to my command-line experience: [fish-x](https://github.com/y3owk1n/fish-x) and [fish-fzf](https://github.com/y3owk1n/fish-fzf).

## From Zsh to Fish: A Personal Transition

Expand All @@ -14,15 +14,15 @@ Why [fish-x](https://github.com/y3owk1n/fish-x)? It's about those small but mean

As a fan of FZF's efficiency, I created [fish-fzf](https://github.com/y3owk1n/fish-fzf) to seamlessly integrate it into my Fish shell workflow. Unlike other plugins with predefined key bindings, fish-fzf provides unopinionated FZF functions. With three key functions, including command history search, directory picking, and file selection, fish-fzf lets users define their workflow and shape their Fish shell experience according to personal preferences.

1. **Command History Search with** **`_fzf_cmd_history`\*\*\*\*:**
1. **Command History Search with** **`_fzf_cmd_history`\*\*\*\*:**
- Search and select commands from your history using FZF.
- Replace the current command line with the selected command.
- Optionally, execute the selected command immediately.
1. **Directory Picker with** **`_fzf_directory_picker`\*\*\*\*:**
1. **Directory Picker with** **`_fzf_directory_picker`\*\*\*\*:**
- Navigate and select directories using FZF.
- Optionally, change the current directory or replace the current token with the selected directory path.
- Supports recursive depth and custom prompts.
1. **File Picker with** **`_fzf_file_picker`\*\*\*\*:**
1. **File Picker with** **`_fzf_file_picker`\*\*\*\*:**
- Browse and select files and directories using FZF.
- Respects .gitignore by default and allows searching all files with **`--show-hidden-files`**.
- Optionally, open the selected file in your preferred editor or replace the current token with the selected file path.
Expand Down

1 comment on commit a83c20f

@vercel
Copy link

@vercel vercel bot commented on a83c20f Jan 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

blog – ./

blog-y3owk1n.vercel.app
blog-git-main-y3owk1n.vercel.app
kylewong.my
www.kylewong.my

Please sign in to comment.