#[repr(u16)]pub enum ShellOption {
Show 184 variants
Aliases = 1,
AliasFuncDef = 2,
AllExport = 3,
AlwaysLastPrompt = 4,
AlwaysToEnd = 5,
AppendCreate = 6,
AppendHistory = 7,
AutoCd = 8,
AutoContinue = 9,
AutoList = 10,
AutoMenu = 11,
AutoNamedDirs = 12,
AutoParamKeys = 13,
AutoParamSlash = 14,
AutoPushd = 15,
AutoRemoveSlash = 16,
AutoResume = 17,
BadPattern = 18,
BangHist = 19,
BareGlobQual = 20,
BashAutoList = 21,
BashRematch = 22,
Beep = 23,
BgNice = 24,
BraceCcl = 25,
BsdEcho = 26,
CaseGlob = 27,
CaseMatch = 28,
CasePaths = 29,
CBases = 30,
CPrecedences = 31,
CdAbleVars = 32,
CdSilent = 33,
ChaseDots = 34,
ChaseLinks = 35,
CheckJobs = 36,
CheckRunningJobs = 37,
Clobber = 38,
ClobberEmpty = 39,
CombiningChars = 40,
CompleteAliases = 41,
CompleteInWord = 42,
ContinueOnError = 43,
Correct = 44,
CorrectAll = 45,
CshJunkieHistory = 46,
CshJunkieLoops = 47,
CshJunkieQuotes = 48,
CshNullCmd = 49,
CshNullGlob = 50,
DebugBeforeCmd = 51,
Emacs = 52,
Equals = 53,
ErrExit = 54,
ErrReturn = 55,
Exec = 56,
ExtendedGlob = 57,
ExtendedHistory = 58,
EvalLineno = 59,
FlowControl = 60,
ForceFloat = 61,
FunctionArgZero = 62,
Glob = 63,
GlobalExport = 64,
GlobalRcs = 65,
GlobAssign = 66,
GlobComplete = 67,
GlobDots = 68,
GlobStarShort = 69,
GlobSubst = 70,
HashCmds = 71,
HashDirs = 72,
HashExecutablesOnly = 73,
HashListAll = 74,
HistAllowClobber = 75,
HistBeep = 76,
HistExpireDupsFirst = 77,
HistFcntlLock = 78,
HistFindNoDups = 79,
HistIgnoreAllDups = 80,
HistIgnoreDups = 81,
HistIgnoreSpace = 82,
HistLexWords = 83,
HistNoFunctions = 84,
HistNoStore = 85,
HistSubstPattern = 86,
HistReduceBlanks = 87,
HistSaveByCopy = 88,
HistSaveNoDups = 89,
HistVerify = 90,
Hup = 91,
IgnoreBraces = 92,
IgnoreCloseBraces = 93,
IgnoreEof = 94,
IncAppendHistory = 95,
IncAppendHistoryTime = 96,
Interactive = 97,
InteractiveComments = 98,
KshArrays = 99,
KshAutoload = 100,
KshGlob = 101,
KshOptionPrint = 102,
KshTypeset = 103,
KshZeroSubscript = 104,
ListAmbiguous = 105,
ListBeep = 106,
ListPacked = 107,
ListRowsFirst = 108,
ListTypes = 109,
LocalOptions = 110,
LocalLoops = 111,
LocalPatterns = 112,
LocalTraps = 113,
Login = 114,
LongListJobs = 115,
MagicEqualSubst = 116,
MailWarning = 117,
MarkDirs = 118,
MenuComplete = 119,
Monitor = 120,
MultiByte = 121,
MultiFuncDef = 122,
MultiOs = 123,
NoMatch = 124,
Notify = 125,
NullGlob = 126,
NumericGlobSort = 127,
OctalZeroes = 128,
OverStrike = 129,
PathDirs = 130,
PathScript = 131,
PipeFail = 132,
PosixAliases = 133,
PosixArgZero = 134,
PosixBuiltins = 135,
PosixCd = 136,
PosixIdentifiers = 137,
PosixJobs = 138,
PosixStrings = 139,
PosixTraps = 140,
PrintEightBit = 141,
PrintExitValue = 142,
Privileged = 143,
PromptBang = 144,
PromptCr = 145,
PromptPercent = 146,
PromptSp = 147,
PromptSubst = 148,
PushdIgnoreDups = 149,
PushdMinus = 150,
PushdSilent = 151,
PushdToHome = 152,
RcExpandParam = 153,
RcQuotes = 154,
Rcs = 155,
RecExact = 156,
RematchPcre = 157,
RmStarSilent = 158,
RmStarWait = 159,
ShareHistory = 160,
ShFileExpansion = 161,
ShGlob = 162,
ShInstdin = 163,
ShNullCmd = 164,
ShOptionLetters = 165,
ShortLoops = 166,
ShortRepeat = 167,
ShWordSplit = 168,
SingleCommand = 169,
SingleLineZle = 170,
SourceTrace = 171,
SunKeyboardHack = 172,
TransientRprompt = 173,
TrapsAsync = 174,
TypesetSilent = 175,
TypesetToUnset = 176,
Unset = 177,
Verbose = 178,
Vi = 179,
WarnCreateGlobal = 180,
WarnNestedVar = 181,
Xtrace = 182,
Zle = 183,
Dvorak = 184,
}Expand description
All shell option names
Variants§
Aliases = 1
AliasFuncDef = 2
AllExport = 3
AlwaysLastPrompt = 4
AlwaysToEnd = 5
AppendCreate = 6
AppendHistory = 7
AutoCd = 8
AutoContinue = 9
AutoList = 10
AutoMenu = 11
AutoNamedDirs = 12
AutoParamKeys = 13
AutoParamSlash = 14
AutoPushd = 15
AutoRemoveSlash = 16
AutoResume = 17
BadPattern = 18
BangHist = 19
BareGlobQual = 20
BashAutoList = 21
BashRematch = 22
Beep = 23
BgNice = 24
BraceCcl = 25
BsdEcho = 26
CaseGlob = 27
CaseMatch = 28
CasePaths = 29
CBases = 30
CPrecedences = 31
CdAbleVars = 32
CdSilent = 33
ChaseDots = 34
ChaseLinks = 35
CheckJobs = 36
CheckRunningJobs = 37
Clobber = 38
ClobberEmpty = 39
CombiningChars = 40
CompleteAliases = 41
CompleteInWord = 42
ContinueOnError = 43
Correct = 44
CorrectAll = 45
CshJunkieHistory = 46
CshJunkieLoops = 47
CshJunkieQuotes = 48
CshNullCmd = 49
CshNullGlob = 50
DebugBeforeCmd = 51
Emacs = 52
Equals = 53
ErrExit = 54
ErrReturn = 55
Exec = 56
ExtendedGlob = 57
ExtendedHistory = 58
EvalLineno = 59
FlowControl = 60
ForceFloat = 61
FunctionArgZero = 62
Glob = 63
GlobalExport = 64
GlobalRcs = 65
GlobAssign = 66
GlobComplete = 67
GlobDots = 68
GlobStarShort = 69
GlobSubst = 70
HashCmds = 71
HashDirs = 72
HashExecutablesOnly = 73
HashListAll = 74
HistAllowClobber = 75
HistBeep = 76
HistExpireDupsFirst = 77
HistFcntlLock = 78
HistFindNoDups = 79
HistIgnoreAllDups = 80
HistIgnoreDups = 81
HistIgnoreSpace = 82
HistLexWords = 83
HistNoFunctions = 84
HistNoStore = 85
HistSubstPattern = 86
HistReduceBlanks = 87
HistSaveByCopy = 88
HistSaveNoDups = 89
HistVerify = 90
Hup = 91
IgnoreBraces = 92
IgnoreCloseBraces = 93
IgnoreEof = 94
IncAppendHistory = 95
IncAppendHistoryTime = 96
Interactive = 97
InteractiveComments = 98
KshArrays = 99
KshAutoload = 100
KshGlob = 101
KshOptionPrint = 102
KshTypeset = 103
KshZeroSubscript = 104
ListAmbiguous = 105
ListBeep = 106
ListPacked = 107
ListRowsFirst = 108
ListTypes = 109
LocalOptions = 110
LocalLoops = 111
LocalPatterns = 112
LocalTraps = 113
Login = 114
LongListJobs = 115
MagicEqualSubst = 116
MailWarning = 117
MarkDirs = 118
MenuComplete = 119
Monitor = 120
MultiByte = 121
MultiFuncDef = 122
MultiOs = 123
NoMatch = 124
Notify = 125
NullGlob = 126
NumericGlobSort = 127
OctalZeroes = 128
OverStrike = 129
PathDirs = 130
PathScript = 131
PipeFail = 132
PosixAliases = 133
PosixArgZero = 134
PosixBuiltins = 135
PosixCd = 136
PosixIdentifiers = 137
PosixJobs = 138
PosixStrings = 139
PosixTraps = 140
PrintEightBit = 141
PrintExitValue = 142
Privileged = 143
PromptBang = 144
PromptCr = 145
PromptPercent = 146
PromptSp = 147
PromptSubst = 148
PushdIgnoreDups = 149
PushdMinus = 150
PushdSilent = 151
PushdToHome = 152
RcExpandParam = 153
RcQuotes = 154
Rcs = 155
RecExact = 156
RematchPcre = 157
RmStarSilent = 158
RmStarWait = 159
ShFileExpansion = 161
ShGlob = 162
ShInstdin = 163
ShNullCmd = 164
ShOptionLetters = 165
ShortLoops = 166
ShortRepeat = 167
ShWordSplit = 168
SingleCommand = 169
SingleLineZle = 170
SourceTrace = 171
SunKeyboardHack = 172
TransientRprompt = 173
TrapsAsync = 174
TypesetSilent = 175
TypesetToUnset = 176
Unset = 177
Verbose = 178
Vi = 179
WarnCreateGlobal = 180
WarnNestedVar = 181
Xtrace = 182
Zle = 183
Dvorak = 184
Implementations§
Trait Implementations§
Source§impl Clone for ShellOption
impl Clone for ShellOption
Source§fn clone(&self) -> ShellOption
fn clone(&self) -> ShellOption
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ShellOption
impl Debug for ShellOption
Source§impl Hash for ShellOption
impl Hash for ShellOption
Source§impl PartialEq for ShellOption
impl PartialEq for ShellOption
impl Copy for ShellOption
impl Eq for ShellOption
impl StructuralPartialEq for ShellOption
Auto Trait Implementations§
impl Freeze for ShellOption
impl RefUnwindSafe for ShellOption
impl Send for ShellOption
impl Sync for ShellOption
impl Unpin for ShellOption
impl UnsafeUnpin for ShellOption
impl UnwindSafe for ShellOption
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more