Commit 81bbe86d authored by Marc Cornellà's avatar Marc Cornellà
Browse files

fix(updater): properly show changelog via `less`

parent 1ac40cd4
...@@ -71,7 +71,7 @@ if git pull --rebase --stat origin master; then ...@@ -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 # Display changelog with less if available, otherwise just print it to the terminal
if (( $+commands[less] )); then 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 else
"$ZSH/tools/changelog.sh" HEAD "$last_commit" "$ZSH/tools/changelog.sh" HEAD "$last_commit"
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment