treewide: nushell build time configs suffixed
Add filetype suffix for LSP/tree-sitter support.
This commit is contained in:
parent
180fd43eea
commit
53cacafd9b
12 changed files with 12 additions and 12 deletions
|
|
@ -124,7 +124,7 @@ in {
|
|||
programs.nushell = mkIf cfg.enableNushellIntegration {
|
||||
extraConfig = ''
|
||||
source ${
|
||||
pkgs.runCommand "atuin-nushell-config" { } ''
|
||||
pkgs.runCommand "atuin-nushell-config.nu" { } ''
|
||||
${lib.getExe cfg.package} init nu ${flagsStr} >> "$out"
|
||||
''
|
||||
}
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ in {
|
|||
nushell = lib.mkIf cfg.enableNushellIntegration {
|
||||
extraConfig = ''
|
||||
source ${
|
||||
pkgs.runCommand "carapace-nushell-config" { } ''
|
||||
pkgs.runCommand "carapace-nushell-config.nu" { } ''
|
||||
${bin} _carapace nushell >> "$out"
|
||||
''
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ in {
|
|||
nushell = lib.mkIf cfg.enableNushellIntegration {
|
||||
extraConfig = ''
|
||||
source ${
|
||||
pkgs.runCommand "nix-your-shell-nushell-config" { } ''
|
||||
pkgs.runCommand "nix-your-shell-nushell-config.nu" { } ''
|
||||
${lib.getExe cfg.package} nu >> "$out"
|
||||
''
|
||||
}
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ in {
|
|||
programs.nushell = mkIf cfg.enableNushellIntegration {
|
||||
extraConfig = ''
|
||||
source ${
|
||||
pkgs.runCommand "oh-my-posh-nushell-config" { } ''
|
||||
pkgs.runCommand "oh-my-posh-nushell-config.nu" { } ''
|
||||
${
|
||||
lib.getExe cfg.package
|
||||
} init nu ${configArgument} --print >> "$out"
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ in {
|
|||
|
||||
nushell.extraConfig = lib.mkIf cfg.enableNushellIntegration ''
|
||||
source ${
|
||||
pkgs.runCommand "pay-respects-nushell-config" { } ''
|
||||
pkgs.runCommand "pay-respects-nushell-config.nu" { } ''
|
||||
${payRespectsCmd} nushell ${cfgOptions} >> "$out"
|
||||
''
|
||||
}
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@ in {
|
|||
# not done here.
|
||||
extraConfig = ''
|
||||
use ${
|
||||
pkgs.runCommand "starship-nushell-config" { } ''
|
||||
pkgs.runCommand "starship-nushell-config.nu" { } ''
|
||||
${lib.getExe cfg.package} init nu >> "$out"
|
||||
''
|
||||
}
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ in {
|
|||
programs.nushell = lib.mkIf cfg.enableNushellIntegration {
|
||||
extraConfig = ''
|
||||
source ${
|
||||
pkgs.runCommand "zoxide-nushell-config" { } ''
|
||||
pkgs.runCommand "zoxide-nushell-config.nu" { } ''
|
||||
${lib.getExe cfg.package} init nushell ${cfgOptions} >> "$out"
|
||||
''
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue