* [PATCH] _kfmclient openProfile
@ 2005-03-22 20:00 Andrey Borzenkov
0 siblings, 0 replies; only message in thread
From: Andrey Borzenkov @ 2005-03-22 20:00 UTC (permalink / raw)
To: zsh-workers
-----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-----
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-03-22 20:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-22 20:00 [PATCH] _kfmclient openProfile Andrey Borzenkov
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).