mirror of https://github.com/CrimsonTome/tldr.git
unset: clarify example with no options (#4126)
parent
8c86156d13
commit
222bc41873
|
@ -2,9 +2,13 @@
|
|||
|
||||
> Remove shell variables or functions.
|
||||
|
||||
- Remove the variable `foo`, or if the variable doesn't exist, remove the function `foo`:
|
||||
|
||||
`unset {{foo}}`
|
||||
|
||||
- Remove the variables foo and bar:
|
||||
|
||||
`unset {{foo}} {{bar}}`
|
||||
`unset -v {{foo}} {{bar}}`
|
||||
|
||||
- Remove the function my_func:
|
||||
|
||||
|
|
Loading…
Reference in New Issue