Adding python env to prompt
This commit is contained in:
@@ -51,6 +51,19 @@
|
|||||||
"template": "{{ .HEAD }} ",
|
"template": "{{ .HEAD }} ",
|
||||||
"style": "plain",
|
"style": "plain",
|
||||||
"type": "git"
|
"type": "git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"background": "#FFDE57",
|
||||||
|
"foreground": "#111111",
|
||||||
|
"powerline_symbol": "\ue0b0",
|
||||||
|
"properties": {
|
||||||
|
"display_mode": "environment",
|
||||||
|
"fetch_virtual_env": true,
|
||||||
|
"home_enabled": true
|
||||||
|
},
|
||||||
|
"style": "plain",
|
||||||
|
"template": " \ue235 {{ if .Venv }}({{ .Venv }}){{ end }} ",
|
||||||
|
"type": "python"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"type": "prompt"
|
"type": "prompt"
|
||||||
|
|||||||
Reference in New Issue
Block a user