zsh-workers
 help / color / mirror / code / Atom feed
From: Andrey Borzenkov <arvidjaar@newmail.ru>
To: zsh-workers@sunsite.dk
Subject: [PATCH] _kfmclient openProfile
Date: Tue, 22 Mar 2005 23:00:03 +0300	[thread overview]
Message-ID: <200503222300.10583.arvidjaar@newmail.ru> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It tries more intelligen way to find Konqueror profiles.

- -andrey

Index: Completion/X/Command/_kfmclient
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/X/Command/_kfmclient,v
retrieving revision 1.4
diff -u -p -r1.4 _kfmclient
- --- Completion/X/Command/_kfmclient     5 Mar 2005 10:31:21 -0000       1.4
+++ Completion/X/Command/_kfmclient     22 Mar 2005 19:58:21 -0000
@@ -73,8 +73,9 @@ case $line[1] in
     _webbrowser
     return
   elif [[ $state = firstarg ]]; then
+    local appdata=${$(kde-config --path data 
2> /dev/null):-~/.kde/share/apps/}
     _wanted profile expl 'Konqueror profile' \
- -      compadd -- ~/.kde/share/apps/konqueror/profiles/*(:t)
+      compadd -- ${(s/:/)^${appdata}}konqueror/profiles/*(:t)
     return
   fi
   ;;
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCQHlKR6LMutpd94wRAprFAKDIl2ksER9vMW566mOTYjhinMfgdQCeJVHG
qEBnqSs5lv/s6mkHPV20VyI=
=0IFf
-----END PGP SIGNATURE-----


                 reply	other threads:[~2005-03-22 20:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200503222300.10583.arvidjaar@newmail.ru \
    --to=arvidjaar@newmail.ru \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).