You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+13-1
Original file line number
Diff line number
Diff line change
@@ -123,7 +123,6 @@ Here are some of the things you can do with `juliaup`:
123
123
-`juliaup override set --path foo/bar lts` sets a directory override for the path `foo/bar` to the `lts` channel.
124
124
-`juliaup override unset --path foo/bar` removes a directory override for the path `foo/bar`.
125
125
-`juliaup override unset --nonexistent` removes all directory overrides for paths that no longer exist.
126
-
-`juliaup completions bash > ~/.local/share/bash-completion/completions/juliaup` generates Bash completions for `juliaup` and saves them to a file. To use them, simply source this file in your `~/.bashrc`. Other supported shells are `zsh`, `fish`, `elvish` and `powershell`.
127
126
-`juliaup` shows you what other commands are available.
128
127
129
128
The available system provided channels are:
@@ -169,6 +168,19 @@ the `JULIAUP_DEPOT_PATH` environment variable. Caution: Previous versions of Jul
169
168
Juliaup by default downloads julia binary tarballs from the official server "https://julialang-s3.julialang.org".
170
169
If requested, the environment variable `JULIAUP_SERVER` can be used to tell Juliaup to use a third-party mirror server.
171
170
171
+
## Shell completions
172
+
173
+
To generate shell completions, load `COMPLETE=$SHELL juliaup` at shell launch. For example, with bash, it could look like `source <(COMPLETE=bash juliaup)`.
174
+
175
+
For more specific information on adding completions to your shell, see https://docs.rs/clap_complete/latest/clap_complete/env/index.html
176
+
177
+
Note: MacOS ships with an ancient version of bash that does not support process substitution. To work around this, you can create a temporary file and `source` that instead like:
0 commit comments