Skip to content

Instantly share code, notes, and snippets.

@blackstuend
Last active November 6, 2018 18:16
Show Gist options
  • Save blackstuend/110f81f22cad29472358064100741dc0 to your computer and use it in GitHub Desktop.
Save blackstuend/110f81f22cad29472358064100741dc0 to your computer and use it in GitHub Desktop.
istar0me can you save me?
  • set 與 env 的差別(感覺都是列出環境變數)
  • 要怎麼將環境變數永久儲存,而不是用export 只是在子程序可以使用??
@istar0me
Copy link

istar0me commented Nov 6, 2018

set, envexport

  • 在不加任何參數的情況下
    • envexport 都是印出所有環境變數
    • set 不只印出環境變數,還會印出自訂變數

將環境變數永久儲存

  • 有點複雜,晚點有空再回答 XD

參考資料

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment