enum

OptionBuilder::Shell

Inherits Enum < Comparable < Value < Object

Supported shells for completion generation.

Constants

Bash = 0
Zsh = 1
Fish = 2
Powershell = 3

Constructors

parse_name(name : String) : Shell

Parse a shell name string. Raises CommandError for unsupported shells.

Source

Instance methods

bash?

Returns true if this enum value equals Bash

Source
fish?

Returns true if this enum value equals Fish

Source
powershell?

Returns true if this enum value equals Powershell

Source
zsh?

Returns true if this enum value equals Zsh

Source