mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 05:59:46 +08:00
Compare commits
No commits in common. "bbda81fe4b338f00bbf7c7f33e6d1b12d067dc05" and "7e4c26860d74a01cd6d91fd10fcc28fccd740ddd" have entirely different histories.
bbda81fe4b
...
7e4c26860d
@ -3,8 +3,7 @@
|
||||
# common grc.zsh paths
|
||||
files=(
|
||||
/etc/grc.zsh # default
|
||||
/usr/local/etc/grc.zsh # homebrew darwin-x64
|
||||
/opt/homebrew/etc/grc.zsh # homebrew darwin-arm64
|
||||
/usr/local/etc/grc.zsh # homebrew
|
||||
)
|
||||
|
||||
# verify the file is readable and source it
|
||||
|
||||
@ -366,7 +366,7 @@ function display-release {
|
||||
# In text mode, highlight (#<issue>) and dim text between `backticks`
|
||||
text)
|
||||
if supports_hyperlinks; then
|
||||
sed -E $'s|#([0-9]+)|\e]8;;https://github.com/ohmyzsh/ohmyzsh/issues/\\1\a\e[32m#\\1\e[0m\e]8;;\a|g;s|`([^`]+)`|`\e[2m\\1\e[0m`|g' <<< "$subject"
|
||||
sed -E $'s|#([0-9]+)|\e]8;;https://github.com/ohmyzsh/ohmyzsh/issues/\\1\a\e[32m#\\1\e[0m\e]8;;\a|g' <<< "$subject"
|
||||
else
|
||||
sed -E $'s|#([0-9]+)|\e[32m#\\1\e[0m|g;s|`([^`]+)`|`\e[2m\\1\e[0m`|g' <<< "$subject"
|
||||
fi ;;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user