From 2bc89da322ade44b7cd2d6c2ccbbae119f36f313 Mon Sep 17 00:00:00 2001 From: Eduard Tolosa Date: Wed, 4 Jun 2025 20:21:00 -0500 Subject: [PATCH] (post-update): Smart suggestions on your Fish shell, without AI Clarify the Atuin take --- ...025-06-03-smart-suggestions-on-your-fish-shell-without-ai.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2025-06-03-smart-suggestions-on-your-fish-shell-without-ai.md b/_posts/2025-06-03-smart-suggestions-on-your-fish-shell-without-ai.md index 9917d87..a1d17fc 100644 --- a/_posts/2025-06-03-smart-suggestions-on-your-fish-shell-without-ai.md +++ b/_posts/2025-06-03-smart-suggestions-on-your-fish-shell-without-ai.md @@ -13,7 +13,7 @@ excerpt: Based.fish is a Fish shell plugin that provides smart suggestions for c ## Introduction -A few days ago I was looking for a way to improve my Fish shell experience, exactly I wanted to have smart suggestions based on my usage patterns, directory context, and command history. The reasons are simple: if I always use the same commands in the same directories, why not suggest them first? After looking for context-based suggestions, I found [Atuin](https://github.com/atuinsh/atuin), which is very well-known. It's a great tool, but doesn't provide what I wanted, it basically shows you the most used commands, but not based on the current directory or the command you are typing. +A few days ago I was looking for a way to improve my Fish shell experience, exactly I wanted to have smart suggestions based on my usage patterns, directory context, and command history. The reasons are simple: if I always use the same commands in the same directories, why not suggest them first? After looking for context-based suggestions, I found [Atuin](https://github.com/atuinsh/atuin), which is very well-known. It's a great tool, but doesn't provide what I wanted, it basically shows you the most used commands, ~~but not based on the current directory or the command you are typing~~ actually, it does provide per-directory completions, I just didn't read the documentation carefully enough. It's a more robust solution that my plugin, supporting history management, sync, and more. However, if you only cares about context-based autocompletions, this plugin is a good alternative. So I decided to create my own plugin, which I called [based.fish](https://github.com/Edu4rdSHL/based.fish), because it's **very based**. A full explanation of its features and how it works can be found in the [README](https://github.com/Edu4rdSHL/based.fish/blob/main/README.md), but basically, it provides full context-based autocompletions for commands, using data such as the frequency of use, date of use, and the context of the current command line such as the path where you are, the command you are typing, etc.