]> git.r.bdr.sh - rbdr/dotfiles/blobdiff - zsh/functions/status.zsh
Merge branch 'main' of git.sr.ht:~rbdr/dotfiles
[rbdr/dotfiles] / zsh / functions / status.zsh
index 690b2eaf8bf51a365f4471e9dfb8156529652b18..01534353815e6fe42970ec6f35ca9a1f3ba8a44f 100644 (file)
@@ -8,7 +8,7 @@ function tool_versions() {
 
 function env_info_provider() { echo "%{%F{green}%}n/a"; }
 function env_info {
-  echo "[%{%F{cyan}%}ENV%{%F{black}%} $(env_info_provider)%{%F{black}%}]"
+  echo "\u300c%{%F{black}%} $(env_info_provider)%{%F{black}%} \u300d"
 }
 
 function python_info {
@@ -57,5 +57,5 @@ function git_info {
 }
 
 function status {
-  echo '%{%F{black}%}$(env_info) $(node_info) $(rust_info) $(python_info)'
+  print -P '%{%F{black}%}$(env_info) $(node_info) $(rust_info) $(python_info)'
 }