mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-10 11:29:59 +03:00
unset: clarify example with no options (#4126)
This commit is contained in:
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
Block a user