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.
tdesdk/scripts/completions/zsh/_dcop

12 lines
228 B

#compdef dcop
local tmp
if [ CURRENT -eq 4 ]; then
tmp=(`$words[1,CURRENT-1] 2>/dev/null | sed -e "s,.* \(.*\)(.*,\1,"`)
else
tmp=(`$words[1,CURRENT-1] 2>/dev/null | sed -e "s,(default),default,"`)
fi
compadd -a tmp