mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2024-12-29 18:56:51 +01:00
fix nushell
This commit is contained in:
parent
8b9272581c
commit
54f12d97dd
1 changed files with 1 additions and 23 deletions
|
@ -10,30 +10,8 @@ in {
|
|||
programs = {
|
||||
nushell = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
let carapace_completer = {|spans|
|
||||
carapace $spans.0 nushell $spans | from json
|
||||
}
|
||||
$env.config = {
|
||||
show_banner: false,
|
||||
completions: {
|
||||
case_sensitive: false
|
||||
quick: true
|
||||
partial: true
|
||||
algorithm: "fuzzy"
|
||||
external: {
|
||||
enable: true
|
||||
max_results: 100
|
||||
completer: $carapace_completer
|
||||
}
|
||||
}
|
||||
}
|
||||
'';
|
||||
shellAliases = {
|
||||
vi = "nvim";
|
||||
vim = "nvim";
|
||||
};
|
||||
};
|
||||
|
||||
carapace.enable = true;
|
||||
carapace.enableNushellIntegration = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue