diff options
Diffstat (limited to 'internal/wizard.zsh')
-rwxr-xr-x | internal/wizard.zsh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/internal/wizard.zsh b/internal/wizard.zsh index 4d91f95c..5a9dc242 100755 --- a/internal/wizard.zsh +++ b/internal/wizard.zsh @@ -153,7 +153,11 @@ function print_prompt() { function href() { local url=${${1//\%/%%}//\\/\\\\} - print -r -- '%{\e]8;;'$url'\e\\%}'$url'%{\e]8;;\e\\%}' + if (( _p9k_term_has_href )); then + print -r -- '%{\e]8;;'$url'\e\\%}'$url'%{\e]8;;\e\\%}' + else + print -r -- $url + fi } function flowing() { |