1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-14 18:00:08 +00:00

fix(changelog): generate correct commit link in markdown (#11356)

This commit is contained in:
jzhang046 2022-11-27 17:54:24 +08:00 committed by GitHub
parent c35ca17258
commit 1aa58d42a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -209,7 +209,7 @@ function display-release {
case "$output" in case "$output" in
raw) printf '%s' "$hash" ;; raw) printf '%s' "$hash" ;;
text) printf '\e[33m%s\e[0m' "$hash" ;; # red text) printf '\e[33m%s\e[0m' "$hash" ;; # red
md) printf '[`%s`](https://github.com/ohmyzsh/ohmyzsh/commit/%s)' "$hash" ;; md) printf '[`%s`](https://github.com/ohmyzsh/ohmyzsh/commit/%s)' "$hash" "$hash" ;;
esac esac
} }