My system
Problem description
For example, let's say I install a CLI tool such as bat, in two ways.
- Install via Homebrew:
brew install bat. When I type bat -- and hit Tab key, fzf-tab suggests the flags available for this CLI tool.
- Install via Nix:
nix-env -iA nixpkgs.bat or nix profile install nixpkgs#bat. When I type bat -- and hit Tab key, fzf-tab does not suggest anything.
I'm an absolute noob at Linux, and I'm new to the Nix package manager so I don't know all the differences between it and Homebrew. My assumption is, Homebrew tends to add installed CLI tools to PATH, so the commands can be "discovered" by fzf-tab. Nix does this in a different way, so fzf-tab does not have info on the packages installed via Nix.
That is only my assumption. I'm not sure how to solve the problem so that fzf-tab can work seamlessly with packages installed via Nix. Any help would be greatly appreciated!