File tree 1 file changed +12
-1
lines changed 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ workspace or turn it on.
98
98
99
99
At startup, Coder clones your dotfiles repository into ` ~/dotfiles ` . If there's
100
100
an executable ` ~/dotfiles/install.sh ` present, Coder executes it. If not, all
101
- dot-prefixed files are symlinked to your home directory.
101
+ dot-prefixed files are symlinked to your home directory.
102
102
103
103
> You ** must** mark ` install.sh ` as executable before committing it to your
104
104
> dotfiles repo.
@@ -111,3 +111,14 @@ You can provide a link to your dotfiles repo that's hosted with the Git provider
111
111
of your choice under [ User preferences] ( preferences.md ) :
112
112
113
113
![ Dotfiles preferences] ( ../assets/workspaces/dotfiles-preferences.png )
114
+
115
+ ### Setting environment variables
116
+
117
+ If you'd like to set environment variables in your workspace so that they're
118
+ available to Code Web (VS Code) running in your workspace and persist across
119
+ workspace builds, you can do so by:
120
+
121
+ 1 . Setting the environment variables in ` .profile ` ;
122
+ 1 . Including ` .profile ` in the dotfiles repo you're using with Coder.
123
+
124
+ Code Web will access the environment variables you set when you launch the IDE.
You can’t perform that action at this time.
0 commit comments