Make sure that shell completions work
On macOS in particular zsh completions should work. Do they?
For nix-darwin, it requires extra configuration: https://github.com/srid/nixos-config/pull/50
cf. https://github.com/nix-community/home-manager/issues/2562
Works for me on macOS. I am on latest home-manager.
{
zsh = {
enable = true;
enableAutosuggestions = true;
};
}
This option has now been renamed to zsh.autosuggestion.enable = true;
https://nix-community.github.io/home-manager/options.xhtml#opt-programs.zsh.autosuggestion.enable
Disabled by default. So let's enable it:
https://github.com/juspay/nix-dev-home/blob/9813334270018d3d4eaa6bbeee663aa7fa20efcc/home/default.nix#L67-L73
Wait, this issue is about autocompletion, but you are talking about autosuggestion. What is the connection?
https://github.com/zsh-users/zsh-autosuggestions?tab=readme-ov-file
Wait, this issue is about autocompletion, but you are talking about autosuggestion. What is the connection?
Right, my bad
On WSL Ubuntu, I confirm shell completions to work (using /bin/bash as shell). Tested on the git and just (the later is not pre-installed on Ubuntu).
I think @rsrohitsingh682 confirmed this to work on macOS (sans nix-darwin)?