treewide: nushell build time configs suffixed

Add filetype suffix for LSP/tree-sitter support.
This commit is contained in:
Austin Horstman 2025-04-02 10:01:35 -05:00
parent 180fd43eea
commit 53cacafd9b
12 changed files with 12 additions and 12 deletions

View file

@ -16,6 +16,6 @@
in ''
assertFileExists "${configDir}/config.nu"
assertFileRegex "${configDir}/config.nu" \
'source /nix/store/[^/]*-carapace-nushell-config'
'source /nix/store/[^/]*-carapace-nushell-config.nu'
'';
}

View file

@ -29,7 +29,7 @@
assertFileExists ${nushellConfigDir}/config.nu
assertFileRegex \
${nushellConfigDir}/config.nu \
'source /nix/store/[^/]*-nix-your-shell-nushell-config'
'source /nix/store/[^/]*-nix-your-shell-nushell-config.nu'
assertFileExists home-files/.zshrc
assertFileRegex \

View file

@ -21,6 +21,6 @@
assertFileExists "${configFile}"
assertFileRegex \
"${configFile}" \
'source /nix/store/[^/]*-oh-my-posh-nushell-config'
'source /nix/store/[^/]*-oh-my-posh-nushell-config.nu'
'';
}

View file

@ -19,6 +19,6 @@
assertFileNotRegex home-files/.bashrc '/nix/store/[^/]*-pay-respects-[^/]*/bin/pay-respects'
assertFileNotRegex home-files/.zshrc '/nix/store/[^/]*-pay-respects-[^/]*/bin/pay-respects'
assertFileNotRegex home-files/.config/fish/config.fish '/nix/store/[^/]*-pay-respects-[^/]*/bin/pay-respects'
assertFileNotRegex home-files/.config/nushell/config.nu 'source /nix/store/[^/]*-pay-respects-nushell-config'
assertFileNotRegex home-files/.config/nushell/config.nu 'source /nix/store/[^/]*-pay-respects-nushell-config.nu'
'';
}

View file

@ -30,6 +30,6 @@
assertFileExists home-files/.config/nushell/config.nu
assertFileRegex \
home-files/.config/nushell/config.nu \
'source /nix/store/[^/]*-pay-respects-nushell-config'
'source /nix/store/[^/]*-pay-respects-nushell-config.nu'
'';
}