summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/upgrade.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/upgrade.sh b/tools/upgrade.sh
index 2edf5b059..0e4c368bc 100755
--- a/tools/upgrade.sh
+++ b/tools/upgrade.sh
@@ -71,7 +71,7 @@ if git pull --rebase --stat origin master; then
# Display changelog with less if available, otherwise just print it to the terminal
if (( $+commands[less] )); then
- command less -R <("$ZSH/tools/changelog.sh" HEAD "$last_commit")
+ "$ZSH/tools/changelog.sh" HEAD "$last_commit" --text | command less -R
else
"$ZSH/tools/changelog.sh" HEAD "$last_commit"
fi