From 4a04cb4384cb57ef861c43d49dfd4c040093c286 Mon Sep 17 00:00:00 2001 From: triethyl Date: Wed, 2 Jul 2025 19:00:37 -0400 Subject: updated nushell config because of deprecation Former-commit-id: f001bf7d758e12fbdf4f0a54d88535c33c10a245 --- features/user/cli/shells/nushell/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'features/user/cli/shells/nushell/default.nix') diff --git a/features/user/cli/shells/nushell/default.nix b/features/user/cli/shells/nushell/default.nix index b8abba5..988308c 100644 --- a/features/user/cli/shells/nushell/default.nix +++ b/features/user/cli/shells/nushell/default.nix @@ -68,7 +68,7 @@ in { let template_path = "${./direnv-project-template}" | path expand let template_files = ls -a $template_path | get name $template_files | each {|item| cp $item $path} - ls -a $path | get name | filter {|name| $template_files | str contains ($name | path basename) | any {}} | each {|name| chmod +w $name} + ls -a $path | get name | where {|name| $template_files | str contains ($name | path basename) | any {}} | each {|name| chmod +w $name} if (try {git rev-parse --is-inside-work-tree e> /dev/null}) != null { direnv allow } else { -- cgit v1.2.3