summaryrefslogtreecommitdiff
path: root/features/user/cli/shells/nushell/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'features/user/cli/shells/nushell/default.nix')
-rw-r--r--features/user/cli/shells/nushell/default.nix2
1 files changed, 1 insertions, 1 deletions
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 {