Skip to content

Commit 1fb425f

Browse files
committed
docs(api-and-naming): elaborate on clearing output-assigned variables
#731 (comment)
1 parent 260a118 commit 1fb425f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api-and-naming.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ Note that if calling multiple functions that assign output to the same variable
1515
during one completion function run, each result should be copied to another
1616
variable between the calls to avoid it possibly being overwritten and lost on
1717
the next call. Also, the variables should also be ensured to be clear before
18-
each call, typically by `unset -v`ing them when multiple such calls are used,
18+
each call that references the value, variable name, or their existence,
19+
typically by `unset -v`ing them when multiple such calls are used,
1920
to avoid them interfering with each other.
2021

2122
## Naming

0 commit comments

Comments
 (0)