mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2025-12-04 21:56:46 +01:00
Merge branch 'fix_colors' into prepare_066
This commit is contained in:
commit
e0630d7573
30 changed files with 107 additions and 97 deletions
|
|
@ -37,7 +37,7 @@ function testSshSegmentWorksIfOnlySshClientIsSet() {
|
|||
# Load Powerlevel9k
|
||||
source powerlevel9k.zsh-theme
|
||||
|
||||
assertEquals "%K{000} %F{011%}ssh-icon%f %k%F{000}%f " "$(build_left_prompt)"
|
||||
assertEquals "%K{000} %F{011}ssh-icon%f %k%F{000}%f " "$(build_left_prompt)"
|
||||
|
||||
unset SSH_CLIENT
|
||||
}
|
||||
|
|
@ -54,7 +54,7 @@ function testSshSegmentWorksIfOnlySshTtyIsSet() {
|
|||
# Load Powerlevel9k
|
||||
source powerlevel9k.zsh-theme
|
||||
|
||||
assertEquals "%K{000} %F{011%}ssh-icon%f %k%F{000}%f " "$(build_left_prompt)"
|
||||
assertEquals "%K{000} %F{011}ssh-icon%f %k%F{000}%f " "$(build_left_prompt)"
|
||||
|
||||
unset SSH_TTY
|
||||
}
|
||||
|
|
@ -71,7 +71,7 @@ function testSshSegmentWorksIfAllNecessaryVariablesAreSet() {
|
|||
# Load Powerlevel9k
|
||||
source powerlevel9k.zsh-theme
|
||||
|
||||
assertEquals "%K{000} %F{011%}ssh-icon%f %k%F{000}%f " "$(build_left_prompt)"
|
||||
assertEquals "%K{000} %F{011}ssh-icon%f %k%F{000}%f " "$(build_left_prompt)"
|
||||
|
||||
unset SSH_TTY
|
||||
unset SSH_CLIENT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue