diff --git a/crates/nu-std/std/mod.nu b/crates/nu-std/std/mod.nu index 395d5b0393..3198a185e2 100644 --- a/crates/nu-std/std/mod.nu +++ b/crates/nu-std/std/mod.nu @@ -322,5 +322,5 @@ export def repeat [ return [] } - ..($n - 1) | each { $item } + 1..$n | each { $item } }