Maximilian Bosch
9d840758a8
completions: pipe stderr to /dev/null
...
This fixes weird issues where e.g.
nix build -L .#<tab>
deletes the current line from the prompt.
2022-02-04 22:43:16 +01:00
Eelco Dolstra
b666a2ca8c
Merge pull request #5820 from ncfavier/completion-nospace
...
Don't insert spaces when completing attribute paths
2021-12-22 17:55:05 +01:00
Naïm Favier
1da1b2b345
Don't insert spaces when completing attribute paths
2021-12-22 16:17:01 +01:00
Eelco Dolstra
5b5f68f1dd
Make bash completion work when nix is invoked as ~/.../nix
2021-12-22 13:26:35 +01:00
regnat
04e5d0e704
Add a description in the completion outputs
...
Make nix output completions in the form `completion\tdescription`.
This can't be used by bash (afaik), but other shells like zsh or fish
can display it along the completion choices
2020-10-09 09:39:51 +02:00
Eelco Dolstra
959295cf4b
Fix completion script install name
2020-06-04 13:37:37 +02:00
Eelco Dolstra
da310fac62
Bash completion: Don't break on ':'
2020-05-11 21:37:53 +02:00
Eelco Dolstra
e0c19ee620
Add completion for paths
2020-05-10 21:35:07 +02:00
Eelco Dolstra
91ddee6bf0
nix: Implement basic bash completion
2020-05-10 20:32:21 +02:00