|
|
@ -19,7 +19,7 @@ function testRust() {
|
|
|
|
alias rustc=mockRust
|
|
|
|
alias rustc=mockRust
|
|
|
|
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(rust_version)
|
|
|
|
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(rust_version)
|
|
|
|
|
|
|
|
|
|
|
|
assertEquals "%K{darkorange} %F{black}Rust 0.4.1a-alpha %k%F{darkorange}%f " "$(build_left_prompt)"
|
|
|
|
assertEquals "%K{208} %F{black}Rust 0.4.1a-alpha %k%F{darkorange}%f " "$(build_left_prompt)"
|
|
|
|
|
|
|
|
|
|
|
|
unset POWERLEVEL9K_LEFT_PROMPT_ELEMENTS
|
|
|
|
unset POWERLEVEL9K_LEFT_PROMPT_ELEMENTS
|
|
|
|
unalias rustc
|
|
|
|
unalias rustc
|
|
|
|