You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
357 B
17 lines
357 B
12 years ago
|
#compdef tdecmshell=tdecmshell appletproxy=appletproxy
|
||
15 years ago
|
|
||
|
local i resource tmp dir flags
|
||
12 years ago
|
if [ "$service" = "tdecmshell" ]; then
|
||
15 years ago
|
resource="apps";
|
||
|
dir="/Settings";
|
||
|
flags=":t:r";
|
||
|
else
|
||
|
resource="data";
|
||
|
dir="/kicker/applets";
|
||
|
flags=":t"
|
||
|
fi
|
||
13 years ago
|
for i in `tde-config --path $resource| sed -e 's/:/ /g'`; do
|
||
15 years ago
|
tmp=($i/$dir/**/*.desktop($flags))
|
||
|
compadd -a tmp
|
||
|
done
|