summaryrefslogtreecommitdiffstats
path: root/src/configs/python.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/configs/python.rs')
-rw-r--r--src/configs/python.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/configs/python.rs b/src/configs/python.rs
index bd986e91c..2b9aa4158 100644
--- a/src/configs/python.rs
+++ b/src/configs/python.rs
@@ -9,6 +9,7 @@ pub struct PythonConfig<'a> {
pub version: SegmentConfig<'a>,
pub pyenv_prefix: SegmentConfig<'a>,
pub pyenv_version_name: bool,
+ pub python_binary: &'a str,
pub scan_for_pyfiles: bool,
pub style: Style,
pub disabled: bool,
@@ -21,6 +22,7 @@ impl<'a> RootModuleConfig<'a> for PythonConfig<'a> {
version: SegmentConfig::default(),
pyenv_prefix: SegmentConfig::new("pyenv "),
pyenv_version_name: false,
+ python_binary: "python",
scan_for_pyfiles: true,
style: Color::Yellow.bold(),
disabled: false,