Enum mcfly::settings::HistoryFormat [−][src]
pub enum HistoryFormat { Bash, Zsh { extended_history: bool, }, Fish, }
Variants
bash format - commands in plain text, one per line, with multi-line commands joined. HISTTIMEFORMAT is assumed to be empty.
zsh format - commands in plain text, with multiline commands on multiple lines.
McFly does not currently handle joining these lines; they’re treated as separate commands.
If –zsh-extended-history was given, extended_history
will be true, and we’ll strip the
timestamp from the beginning of each command.
Show fields
Fields of Zsh
extended_history: bool
fish’s pseudo-yaml, with commands stored as ‘cmd’ with multiple lines joined into one with ‘\n’, and with timestamps stored as ‘when’. (‘paths’ is ignored.) (Some discussion of changing format: https://github.com/fish-shell/fish-shell/pull/6493)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HistoryFormat
impl Send for HistoryFormat
impl Sync for HistoryFormat
impl Unpin for HistoryFormat
impl UnwindSafe for HistoryFormat
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V