pub enum Shell {
Bash,
Zsh,
Fish,
Elvish,
Powershell,
Other(String),
}Expand description
Supported shells for completion installation and detection.
Bash, Zsh, and Fish are the current production support set. Other variants remain available so callers can branch on a stable API surface while unsupported shells return structured errors.
Variants§
Bash
GNU Bash.
Zsh
Z shell.
Fish
Fish shell.
Elvish
Reserved for future implementation.
Powershell
Reserved for future implementation.
Other(String)
An escape hatch for shells not modelled explicitly yet.
This variant exists so callers can keep shell selection in their own domain model even when
shellcomp does not implement that shell yet.
Trait Implementations§
impl Eq for Shell
impl StructuralPartialEq for Shell
Auto Trait Implementations§
impl Freeze for Shell
impl RefUnwindSafe for Shell
impl Send for Shell
impl Sync for Shell
impl Unpin for Shell
impl UnsafeUnpin for Shell
impl UnwindSafe for Shell
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more