aboutsummaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorDaniel Kolsoi <thadan64@gmail.com>2018-05-10 06:37:32 +0300
committerDaniel Kolsoi <thadan64@gmail.com>2018-05-10 06:37:32 +0300
commit9b0e0c786af71048c3f615e99de079d7ff86266e (patch)
tree0acffc176c87089213127c43b44d90499d53bfb2 /powerlevel9k.zsh-theme
parent5fd171c33421fcea2af034e7a0083235f005b401 (diff)
Removed 'Rust' text from test; Silenced missing rustc warning
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index c901103d..530b0d9a 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -1104,7 +1104,7 @@ prompt_root_indicator() {
# Print Rust version number
prompt_rust_version() {
local rust_version
- rust_version=$(command rustc --version 2>&1)
+ rust_version=$(command rustc --version 2>/dev/null)
# Remove "rustc " (including the whitespace) from the beginning
# of the version string and remove everything after the next
# whitespace. This way we'll end up with only the version.