From kde-devel Sun Mar 31 05:40:29 2002 From: Malte Starostik Date: Sun, 31 Mar 2002 05:40:29 +0000 To: kde-devel Subject: Re: new feature in konsole? X-MARC-Message: https://marc.info/?l=kde-devel&m=101755338923043 Am Sunday 31 March 2002 04:58 schrieb Hetz Ben Hamo: > > I guess it's for bookmarking directories or cd'ing to one of the > > bookmarks. And don`t read the comment of the CVS commit, the KDE 3.1 > > planned features list or the corresponding "Tip of the Day" to stay > > clueless. > > I looked at the manual - didn't see any "bookmark" mentioned, and I do read > occasionaly, I probably missed that... > > Anyway, as it stands now I understand that it's not working (add bookmark > is grayed out, and only enabled if I create a folder and then click on that > folder "add bookmark" which gives me empty name and / directory).. You need to make your prompt output ]31$PWD\G in zsh, this does it: precmd() { print -nP "%{^[]31;%~^G%}" } ^[ and ^G are litereally entered and characters resp (it's a snippet from my ~/.zshrc). In bash, sth. like export PROMPT_COMMAND='echo -ne "\033]31;$PWD\007"' should do. Note: didn't try this, as I don't use bash. -- Malte Starostik PGP: 1024D/D2F3C787 [C138 2121 FAF3 410A 1C2A 27CD 5431 7745 D2F3 C787] >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<