activationInstruction property

String get activationInstruction

How to make a newly installed completion take effect in the current shell session, e.g. by reloading the shell.

Implementation

String get activationInstruction => switch (this) {
  CompletionShell.bash => 'Then reload the shell:\n  exec bash',
  CompletionShell.zsh => 'Then reload the shell:\n  exec zsh',
  CompletionShell.fish => 'Fish loads it automatically, no reload needed.',
  CompletionShell.powershell => 'Then reload the profile:\n  . \$PROFILE',
  CompletionShell.carapace => 'Then start a new shell session.',
};