Add $LESSOPEN and $LESSCLOSE support (#2444)

This commit is contained in:
Anomalocaridid authored and GitHub committed 2023-09-02 08:48:26 +02:00
1 parent 3abc0c0fc4
commit e32ad0b048
16 files changed
+748 -4

No files matched your search

+6
View File
@@ -28,6 +28,12 @@ pub enum Error {
InvalidPagerValueBat,
#[error("{0}")]
Msg(String),
#[cfg(feature = "lessopen")]
#[error(transparent)]
VarError(#[from] ::std::env::VarError),
#[cfg(feature = "lessopen")]
#[error(transparent)]
CommandParseError(#[from] ::shell_words::ParseError),
}
impl From<&'static str> for Error {