Преглед изворни кода

fish: add example for environment variables (#3338)

Samruddhi Somani пре 5 година
родитељ
комит
af27d2f96a
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      pages/common/fish.md

+ 4 - 0
pages/common/fish.md

@@ -23,3 +23,7 @@
 - Display version information and exit:
 
 `fish --version`
+
+- Set and export environmental variables that persist across restarts:
+
+`set -Ux {{variable_name}} {{variable_value}}`