From 583a49fa450e8ddf6b140ffbc38337c181ecddf4 Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Thu, 15 Jul 2021 00:44:35 -0700 Subject: [PATCH] Add python to starship config --- fzf/.config/vim/plug.d/fzf.vim | 2 +- starship/.config/starship.toml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/fzf/.config/vim/plug.d/fzf.vim b/fzf/.config/vim/plug.d/fzf.vim index 4852016..1d72aa0 100644 --- a/fzf/.config/vim/plug.d/fzf.vim +++ b/fzf/.config/vim/plug.d/fzf.vim @@ -1,4 +1,4 @@ -Plug 'junegunn/fzf', { 'tag': '0.24.4' } +Plug 'junegunn/fzf', { 'tag': '0.27.2' } Plug 'junegunn/fzf.vim' map fz :GFiles diff --git a/starship/.config/starship.toml b/starship/.config/starship.toml index 6eb7a52..c9a353c 100644 --- a/starship/.config/starship.toml +++ b/starship/.config/starship.toml @@ -6,6 +6,7 @@ format = """\ $git_commit\ $git_state\ $git_status\ + $python \ $time \ $line_break\ $cmd_duration\ @@ -36,6 +37,10 @@ style = "yellow" modified = "±" format = "[$conflicted$deleted$renamed$modified$staged$ahead_behind]($style) " +[python] +format = '[(\($virtualenv\))]($style)' +python_binary = ["python3", "python", "python2"] + [time] disabled = false style = "purple"