pub fn run(shell: Shell, scope: SetupScope) -> Result<()>Expand description
Runs the shell setup command.
ยงErrors
Returns an error if:
- Root privileges are required for system-wide setup but elevation fails.
- The shell completion installation fails.
- The system path setup fails.