diff options
| author | Andrey Borzenkov <bor@users.sourceforge.net> | 2005-03-24 19:09:25 +0000 |
|---|---|---|
| committer | Andrey Borzenkov <bor@users.sourceforge.net> | 2005-03-24 19:09:25 +0000 |
| commit | 35744737039035cd2029b0f248ffa136760fb1dc (patch) | |
| tree | 72ed61bf50cde7a322cc338281461365b1335103 | |
| parent | 21051: more tweaks in SVR4 completion (diff) | |
| download | zsh-35744737039035cd2029b0f248ffa136760fb1dc.tar zsh-35744737039035cd2029b0f248ffa136760fb1dc.tar.gz zsh-35744737039035cd2029b0f248ffa136760fb1dc.tar.bz2 zsh-35744737039035cd2029b0f248ffa136760fb1dc.tar.lz zsh-35744737039035cd2029b0f248ffa136760fb1dc.tar.xz zsh-35744737039035cd2029b0f248ffa136760fb1dc.tar.zst zsh-35744737039035cd2029b0f248ffa136760fb1dc.zip | |
21053: be more intelligent in searching for konqueror profiles
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rwxr-xr-x | Completion/X/Command/_kfmclient | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2005-03-24 Andrey Borzenkov <bor@zsh.org> + + * 21053: Completion/X/Command/_kfmclient: use kde search path + to find profiles in openProfile + 2005-03-22 Andrey Borzenkov <bor@zsh.org> * 21051 (modifed as suugested by Oliver in 21052): diff --git a/Completion/X/Command/_kfmclient b/Completion/X/Command/_kfmclient index 10d7a2ccb..6302e0074 100755 --- a/Completion/X/Command/_kfmclient +++ b/Completion/X/Command/_kfmclient @@ -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 ;; |
