export: add Chinese translation
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
ddd9c42b14
commit
9a674892f0
15
pages.zh/osx/export.md
Normal file
15
pages.zh/osx/export.md
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
# export
|
||||||
|
|
||||||
|
> 命令为当前 shell 中的子进程进行环境变量设置.
|
||||||
|
|
||||||
|
- 设置为新的环境变量:
|
||||||
|
|
||||||
|
`export {{某变量名}}={{值}}`
|
||||||
|
|
||||||
|
- 删除环境变量:
|
||||||
|
|
||||||
|
`export -n {{某变量名}}`
|
||||||
|
|
||||||
|
- 给 PATH 追加新的路径进去:
|
||||||
|
|
||||||
|
`export PATH=$PATH:{{追加的path路径}}`
|
Reference in New Issue
Block a user