summaryrefslogtreecommitdiffstats
path: root/src/context.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/context.rs')
-rw-r--r--src/context.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/context.rs b/src/context.rs
index df88636a8..d6d518533 100644
--- a/src/context.rs
+++ b/src/context.rs
@@ -257,6 +257,7 @@ impl<'a> Context<'a> {
"elvish" => Shell::Elvish,
"tcsh" => Shell::Tcsh,
"nu" => Shell::Nu,
+ "xonsh" => Shell::Xonsh,
_ => Shell::Unknown,
}
}
@@ -494,6 +495,7 @@ pub enum Shell {
Elvish,
Tcsh,
Nu,
+ Xonsh,
Unknown,
}