@@ -70,6 +70,28 @@ git config --global user.name "Your name"
7070git config --global user.email " your-email"
7171```
7272
73+ ## How to customize your shell
74+
75+ You can set your default shell on the dev desktops by adding yourself to a
76+ configuration file in the [ ` rust-lang/simpleinfra ` ] [ simpleinfra-vars-user-config ]
77+ repository. Open ` ansible/roles/dev-desktop/defaults/main.yml ` , look for the
78+ variable ` vars_user_config ` , and add yourself to the list.
79+
80+ ``` yaml
81+ vars_user_config :
82+ - username : gh-jdno
83+ shell : /usr/bin/zsh
84+ - username : gh-WaffleLapkin
85+ shell : /usr/bin/fish
86+ ` ` `
87+
88+ Open a pull request and request a review from ` @rust-lang/infra` (or ping us in
89+ ` #t-infra` on Zulip).
90+
91+ After the pull request is merged, an infrastructure admin has to deploy the
92+ new configuration to the dev desktops. Only after that will your default shell
93+ be changed.
94+
7395# # How to install a Rust toolchain
7496
7597The dev desktops don’t have Rust pre-installed, but instead make it easy to
@@ -157,4 +179,5 @@ We might ask you to create an issue in the [rust-lang/simpleinfra] repository.
157179[rust-lang/rust] : https://github.com/rust-lang/rust
158180[rust-lang/simpleinfra] : https://github.com/rust-lang/simpleinfra
159181[visual studio code] : https://code.visualstudio.com/
160- [ certain teams ] : https://github.com/search?q=repo%3Arust-lang%2Fteam+path%3Ateams%2F*.toml+dev-desktop&type=code&ref=advsearch
182+ [certain teams] : https://github.com/search?q=repo%3Arust-lang%2Fteam+path%3Ateams%2F*.toml+dev-desktop&type=code&ref=advsearch
183+ [simpleinfra-vars-user-config] : https://github.com/rust-lang/simpleinfra/blob/dbf839ef25155df1f33c18f151283436b0f70f3b/ansible/roles/dev-desktop/defaults/main.yml#L12:L16
0 commit comments