Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
81bbe86d
Commit
81bbe86d
authored
Dec 04, 2020
by
Marc Cornellà
Browse files
fix(updater): properly show changelog via `less`
parent
1ac40cd4
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/upgrade.sh
View file @
81bbe86d
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment