I use Yakuake mostly, and haven’t used this apparent feature of Konsole; plus I use an alternate shell to zsh.
I’m glad I didn’t bash
by head too much to find a solution for this one. I would have probably been at a disadvantage.
I use Yakuake mostly, and haven’t used this apparent feature of Konsole; plus I use an alternate shell to zsh.
I’m glad I didn’t bash
by head too much to find a solution for this one. I would have probably been at a disadvantage.
The discussion in the ohmyzsh issue blames Konsole for not handling the host part of the OSC 7 message. Although as pointed out later on there is no official finalized specification for OSC 7…
Ideally this should be fixed upstream in Konsole, but in the meantime the ohmyzsh workaround is very simple as per my previous post;
$ diff /usr/share/zsh/manjaro-zsh-config manjaro-zsh-config
287a288,290
> # Konsole errors if the HOST is provided
> [[ -z "$KONSOLE_PROFILE_NAME" && -z "$KONSOLE_DBUS_SESSION" ]] || URL_HOST=""
>
289c292
< printf "\e]7;%s\a" "file://${URL_HOST}${URL_PATH}"
---
> printf "\e]7;file://%s%s\e\\" "${URL_HOST}" "${URL_PATH}"
See also;
https://github.com/ohmyzsh/ohmyzsh/blob/master/lib/termsupport.zsh
https://github.com/ohmyzsh/ohmyzsh/commit/50c678687e73d1433f278b7bb7f168e8fa817670
https://github.com/ohmyzsh/ohmyzsh/commit/8428442ff0e0114fab32b90443911b11a4b7f5df
this function fixed it! thanks to anyone replying on this topic
This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.