diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-27 01:05:39 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-27 01:05:39 -0600 |
commit | ff94d46e423398804d2ae63faeb114c2cf604fc4 (patch) | |
tree | 4481ffd491d15ac15081cea46d7cc298ef6351a4 /scripts/completions/zsh/_tdecmshell | |
parent | b9553cef2a3cd9f5b89c8aca6f4b7781a079dbb7 (diff) | |
download | tdesdk-ff94d46e423398804d2ae63faeb114c2cf604fc4.tar.gz tdesdk-ff94d46e423398804d2ae63faeb114c2cf604fc4.zip |
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'scripts/completions/zsh/_tdecmshell')
-rw-r--r-- | scripts/completions/zsh/_tdecmshell | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/completions/zsh/_tdecmshell b/scripts/completions/zsh/_tdecmshell new file mode 100644 index 00000000..f9c62814 --- /dev/null +++ b/scripts/completions/zsh/_tdecmshell @@ -0,0 +1,16 @@ +#compdef tdecmshell=tdecmshell appletproxy=appletproxy + +local i resource tmp dir flags +if [ "$service" = "tdecmshell" ]; then + resource="apps"; + dir="/Settings"; + flags=":t:r"; +else + resource="data"; + dir="/kicker/applets"; + flags=":t" +fi +for i in `tde-config --path $resource| sed -e 's/:/ /g'`; do + tmp=($i/$dir/**/*.desktop($flags)) + compadd -a tmp +done |