mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 16:03:47 +02:00
fix(updater): properly show changelog via less
This commit is contained in:
1 parent
1ac40cd445
commit
81bbe86db0
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user