diff options
author | terminaldweller <devi@terminaldweller.com> | 2023-05-04 19:24:48 +0000 |
---|---|---|
committer | terminaldweller <devi@terminaldweller.com> | 2023-05-04 19:24:48 +0000 |
commit | 4b0ef68be03ebbe9da56520d62ce372f66a2a12f (patch) | |
tree | fc794093f386283021776ebde9ebea982ccdc617 /devi.zsh-theme | |
parent | updates (diff) | |
download | scripts-4b0ef68be03ebbe9da56520d62ce372f66a2a12f.tar.gz scripts-4b0ef68be03ebbe9da56520d62ce372f66a2a12f.zip |
update
Diffstat (limited to 'devi.zsh-theme')
-rw-r--r-- | devi.zsh-theme | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/devi.zsh-theme b/devi.zsh-theme index 72c1508..55daa1d 100644 --- a/devi.zsh-theme +++ b/devi.zsh-theme @@ -295,7 +295,12 @@ meson_env() { fi } -PS1=$'$(dir_writeable)$(tsocks_on)$(sudo_query)%{$reset_color%} %{$yablue%}%n@%M:$(getterminal)%{$reset_color%} %{$yagreen%}$(pwd_shortened)%{$reset_color%} %{$muckgreen%}$(time_function)%{$reset_color%}$vcs_info_msg_0_%{$limblue%}%{$gnew%}$(gitadditions)%{$gnew2%}$(gitdeletions)%{$reset_color%}%{$deeppink%}$(virtualenv_info)%{$reset_color%}%{$greeniegreen%}$(meson_env)%{$reset_color%}%{$teal%}$(node_version)%{$reset_color%}%{$gover%}$(goversion)%{$reset_color%}%{$rust%}$(rustversion)%{$reset_color%}%{$babyblue%}$(ruby_version)%{$reset_color%}%{$sneakyc%}$(sneaky)%{$reset_color%}%{$new%}$rbq_info_msg%{$reset_color%} $(getkubernetesinfo)%{$reset_color%}' +pyenv_version() { + local version=$(pyenv version | awk '{print $1}') + echo " <${version}>" +} + +PS1=$'$(dir_writeable)$(tsocks_on)$(sudo_query)%{$reset_color%} %{$yablue%}%n@%M:$(getterminal)%{$reset_color%} %{$yagreen%}$(pwd_shortened)%{$reset_color%} %{$muckgreen%}$(time_function)%{$reset_color%}$vcs_info_msg_0_%{$limblue%}%{$gnew%}$(gitadditions)%{$gnew2%}$(gitdeletions)%{$reset_color%}%{$deeppink%}$(virtualenv_info)%{$reset_color%}%{$greeniegreen%}$(meson_env)%{$reset_color%}%{$yablue%}$(pyenv_version)%{$reset_color%}%{$teal%}$(node_version)%{$reset_color%}%{$gover%}$(goversion)%{$reset_color%}%{$rust%}$(rustversion)%{$reset_color%}%{$babyblue%}$(ruby_version)%{$reset_color%}%{$sneakyc%}$(sneaky)%{$reset_color%}%{$new%}$rbq_info_msg%{$reset_color%} $(getkubernetesinfo)%{$reset_color%}' PS2=$'' PS3=$'\n%{$randomblue%}--➜%K{0}%F{15}' get_prompt_len() { |