summaryrefslogtreecommitdiff
path: root/rc.1
diff options
context:
space:
mode:
Diffstat (limited to 'rc.1')
-rw-r--r--rc.14
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.1 b/rc.1
index ca3a26e..3a21bf5 100644
--- a/rc.1
+++ b/rc.1
@@ -1869,9 +1869,9 @@ The
builtin only shifts
.Cr "$*" .
This function can shift any variable (except
-.Cr "$lshift" ).
+.Cr "$_lshift" ).
.Ds
-.Cr "fn lshift { lshift=$*; *=$$1; shift $lshift(2); $lshift(1)=$* }"
+.Cr "fn lshift { _lshift=$* *=$$1 { shift $_lshift(2); $_lshift(1)=$* } }"
.De
.PP
With this definition in place,