Explorar o código

export: add Chinese translation

wizarot %!s(int64=6) %!d(string=hai) anos
pai
achega
9a674892f0
Modificáronse 1 ficheiros con 15 adicións e 0 borrados
  1. 15 0
      pages.zh/osx/export.md

+ 15 - 0
pages.zh/osx/export.md

@@ -0,0 +1,15 @@
+# export
+
+> 命令为当前 shell 中的子进程进行环境变量设置.
+
+- 设置为新的环境变量:
+
+`export {{某变量名}}={{值}}`
+
+- 删除环境变量:
+
+`export -n {{某变量名}}`
+
+- 给 PATH 追加新的路径进去:
+
+`export PATH=$PATH:{{追加的path路径}}`