Browse Source

fish: add example for environment variables (#3338)

Samruddhi Somani 5 năm trước cách đây
mục cha
commit
af27d2f96a
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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}}`