summaryrefslogtreecommitdiffstats
path: root/src/context.rs
diff options
context:
space:
mode:
authorDavid Knaack <davidkna@users.noreply.github.com>2021-02-02 12:59:55 +0100
committerGitHub <noreply@github.com>2021-02-02 12:59:55 +0100
commit22dc8b842e721c440aa98035dd2dff30c7fe6497 (patch)
treeb4b15a181a96c75c6448e5f1a3d2ee9f1ae64973 /src/context.rs
parent10d5a7034b006e8eacb1748cd27c020b614ded9f (diff)
feat: add support for elvish shell (#1725)
* feat: add support for elvish shell * improve doc * elvish 0.15 is out * fix example init * update systax for 0.15 stable * udpate second init example too * remove warning from swift module * add warning to status module docs * prefix elvish version with v
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 7b0986bf6..293f1bdf6 100644
--- a/src/context.rs
+++ b/src/context.rs
@@ -208,6 +208,7 @@ impl<'a> Context<'a> {
"ion" => Shell::Ion,
"powershell" => Shell::PowerShell,
"zsh" => Shell::Zsh,
+ "elvish" => Shell::Elvish,
_ => Shell::Unknown,
}
}
@@ -426,6 +427,7 @@ pub enum Shell {
Ion,
PowerShell,
Zsh,
+ Elvish,
Unknown,
}