Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] _kfmclient openProfile
- X-seq: zsh-workers 21053
- From: Andrey Borzenkov <arvidjaar@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: [PATCH] _kfmclient openProfile
- Date: Tue, 22 Mar 2005 23:00:03 +0300
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
-----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-----
Messages sorted by:
Reverse Date,
Date,
Thread,
Author