]> git.r.bdr.sh - rbdr/dotfiles/commitdiff
Make status print correctly
authorRuben Beltran del Rio <redacted>
Thu, 25 Jan 2024 00:59:49 +0000 (01:59 +0100)
committerRuben Beltran del Rio <redacted>
Thu, 25 Jan 2024 00:59:49 +0000 (01:59 +0100)
zsh/functions/status.zsh

index 690b2eaf8bf51a365f4471e9dfb8156529652b18..3da8977e6e36f878a4667d3584f5d44eafc0e0bb 100644 (file)
@@ -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)'
 }