Skip to content

enum Tabular::Directive #

A bit map representing the different behaviors the shell can be instructed to have once completions have been provided.

Members#

None = 0#

Indicates to let the shell perform its default behavior after completions have been provided.

Error = 1#

Indicates an error occurred and completions should be ignored.

NoSpace = 2#

Indicates that the shell should not add a space after the completion even if there is a single completion provided.

NoFile = 4#

Indicates that the shell should not provide file completion even when no completion is provided.

FilterExt = 8#

Indicates that the provided completions should be used as file extension filters.

FilterDir = 16#

Indicates that only directory names should be provided in file completion.

KeepOrder = 32#

Indicates that the shell should preserve the order in which the completions are provided

All = 63#

Methods#

#error?#

Returns true if this enum value contains Error

View source

#filter_dir?#

Returns true if this enum value contains FilterDir

View source

#filter_ext?#

Returns true if this enum value contains FilterExt

View source

#keep_order?#

Returns true if this enum value contains KeepOrder

View source

#no_file?#

Returns true if this enum value contains NoFile

View source

#no_space?#

Returns true if this enum value contains NoSpace

View source

#none?#

Returns true if this enum value contains None

View source

#show#

Returns the String representation that will be sent to the shell.

View source