Add python to starship config
This commit is contained in:
parent
8a79668af6
commit
583a49fa45
@ -1,4 +1,4 @@
|
|||||||
Plug 'junegunn/fzf', { 'tag': '0.24.4' }
|
Plug 'junegunn/fzf', { 'tag': '0.27.2' }
|
||||||
Plug 'junegunn/fzf.vim'
|
Plug 'junegunn/fzf.vim'
|
||||||
|
|
||||||
map <leader>fz :GFiles<CR>
|
map <leader>fz :GFiles<CR>
|
||||||
|
|||||||
@ -6,6 +6,7 @@ format = """\
|
|||||||
$git_commit\
|
$git_commit\
|
||||||
$git_state\
|
$git_state\
|
||||||
$git_status\
|
$git_status\
|
||||||
|
$python \
|
||||||
$time \
|
$time \
|
||||||
$line_break\
|
$line_break\
|
||||||
$cmd_duration\
|
$cmd_duration\
|
||||||
@ -36,6 +37,10 @@ style = "yellow"
|
|||||||
modified = "±"
|
modified = "±"
|
||||||
format = "[$conflicted$deleted$renamed$modified$staged$ahead_behind]($style) "
|
format = "[$conflicted$deleted$renamed$modified$staged$ahead_behind]($style) "
|
||||||
|
|
||||||
|
[python]
|
||||||
|
format = '[(\($virtualenv\))]($style)'
|
||||||
|
python_binary = ["python3", "python", "python2"]
|
||||||
|
|
||||||
[time]
|
[time]
|
||||||
disabled = false
|
disabled = false
|
||||||
style = "purple"
|
style = "purple"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user