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