diff options
| author | triethyl <triethylammonium@pm.me> | 2025-07-02 19:00:37 -0400 |
|---|---|---|
| committer | triethyl <triethylammonium@pm.me> | 2025-07-02 19:00:37 -0400 |
| commit | 4a04cb4384cb57ef861c43d49dfd4c040093c286 (patch) | |
| tree | e133486eb1a25c332e63a50a598cbb23b7e14e29 /features/user/cli/shells/nushell | |
| parent | 963038780456cf596fbdaaf627caa1982f6e8b34 (diff) | |
updated nushell config because of deprecation
Former-commit-id: f001bf7d758e12fbdf4f0a54d88535c33c10a245
Diffstat (limited to 'features/user/cli/shells/nushell')
| -rw-r--r-- | features/user/cli/shells/nushell/default.nix | 2 |
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 { |
