summaryrefslogtreecommitdiffstats
path: root/src/bug_report.rs
diff options
context:
space:
mode:
authorJeremy Schlatter <jeremy@jeremyschlatter.com>2021-07-16 12:25:01 -0700
committerGitHub <noreply@github.com>2021-07-16 15:25:01 -0400
commitb1dcd5aecd676950bf550581b744c6e1bbe32317 (patch)
tree43868c15a9eaf0df0fe749e24cfc60e8bbc37901 /src/bug_report.rs
parent1eaf996a3645704910ea30b0ee19a97ab4f1daf6 (diff)
feat: add support for xonsh (#2807)
* feat: add support for xonsh * xonsh: add STARSHIP_SESSION_KEY * xonsh: implement STARSHIP_SESSION_KEY in xonsh * docs: mention tcsh, elvish, and nu in more places * xonsh: change STARSHIP_SESSION_KEY implementation See https://github.com/starship/starship/pull/2807#discussion_r667064149 * xonsh: fix jobs implementation * xonsh: do not silently discard stderr from starship
Diffstat (limited to 'src/bug_report.rs')
-rw-r--r--src/bug_report.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bug_report.rs b/src/bug_report.rs
index 28a9bb720..5a2ed061c 100644
--- a/src/bug_report.rs
+++ b/src/bug_report.rs
@@ -212,6 +212,7 @@ fn get_config_path(shell: &str) -> Option<PathBuf> {
"zsh" => Some(".zshrc"),
"elvish" => Some(".elvish/rc.elv"),
"tcsh" => Some(".tcshrc"),
+ "xonsh" => Some(".xonshrc"),
_ => None,
}
.map(|path| home_dir.join(path))