Doc: Use shorter readme link (#2671)
Since it links to readme on default branch (permalink), can just omit that all making links shorter.
This commit is contained in:
parent
3395c828b2
commit
16e5848426
8 changed files with 15 additions and 15 deletions
|
@ -6740,9 +6740,9 @@ function _p9k_clear_instant_prompt() {
|
|||
echo -E - ""
|
||||
echo -E - "${(%):-For details, see:}"
|
||||
if (( _p9k_term_has_href )); then
|
||||
echo - "${(%):-\e]8;;https://github.com/romkatv/powerlevel10k/blob/master/README.md#instant-prompt\ahttps://github.com/romkatv/powerlevel10k/blob/master/README.md#instant-prompt\e]8;;\a}"
|
||||
echo - "${(%):-\e]8;;https://github.com/romkatv/powerlevel10k#instant-prompt\ahttps://github.com/romkatv/powerlevel10k#instant-prompt\e]8;;\a}"
|
||||
else
|
||||
echo - "${(%):-https://github.com/romkatv/powerlevel10k/blob/master/README.md#instant-prompt}"
|
||||
echo - "${(%):-https://github.com/romkatv/powerlevel10k#instant-prompt}"
|
||||
fi
|
||||
echo -E - ""
|
||||
echo - "${(%):-%3F-- console output produced during zsh initialization follows --%f}"
|
||||
|
@ -9007,9 +9007,9 @@ _p9k_init() {
|
|||
>&2 echo -E - ""
|
||||
>&2 echo -E - "${(%):- - %BRecommended%b: Change the way Powerlevel10k is loaded from %B$__p9k_zshrc_u%b.}"
|
||||
if (( _p9k_term_has_href )); then
|
||||
>&2 echo - "${(%):- See \e]8;;https://github.com/romkatv/powerlevel10k/blob/master/README.md#installation\ahttps://github.com/romkatv/powerlevel10k/blob/master/README.md#installation\e]8;;\a.}"
|
||||
>&2 echo - "${(%):- See \e]8;;https://github.com/romkatv/powerlevel10k#installation\ahttps://github.com/romkatv/powerlevel10k#installation\e]8;;\a.}"
|
||||
else
|
||||
>&2 echo - "${(%):- See https://github.com/romkatv/powerlevel10k/blob/master/README.md#installation.}"
|
||||
>&2 echo - "${(%):- See https://github.com/romkatv/powerlevel10k#installation.}"
|
||||
fi
|
||||
if (( $+zsh_defer_options )); then
|
||||
>&2 echo -E - ""
|
||||
|
|
|
@ -1506,7 +1506,7 @@ function ask_empty_line() {
|
|||
}
|
||||
|
||||
function print_instant_prompt_link() {
|
||||
local link='https://github.com/romkatv/powerlevel10k/blob/master/README.md#instant-prompt'
|
||||
local link='https://github.com/romkatv/powerlevel10k#instant-prompt'
|
||||
(( wizard_columns < $#link )) && return
|
||||
print
|
||||
flowing -c "$(href $link)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue