Skip to content

Commit 0c9ccee

Browse files
authored
Merge pull request #536 from conr2d/readme-zsh
Update README.md (zsh example)
2 parents 0055f7c + 7adadf1 commit 0c9ccee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ function install_powerline_precmd() {
135135
precmd_functions+=(powerline_precmd)
136136
}
137137
138-
if [ "$TERM" != "linux" ]; then
138+
if [ "$TERM" != "linux" -a -x "$(command -v powerline-shell)" ]; then
139139
install_powerline_precmd
140140
fi
141141
```

0 commit comments

Comments
 (0)