summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorsebastid <sebastid>2005-09-27 19:12:11 +0000
committersebastid <sebastid@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2005-09-27 19:12:11 +0000
commit47b4da688ee40f97a6e65577739766ec745e3693 (patch)
tree41e7903148c92c674df7b3fd06a5465ff9fd30c7 /data
parent9bc073683d93409716dd3c001e20dc636a6bec26 (diff)
Yay!
SVN revision: 16996
Diffstat (limited to 'data')
-rw-r--r--data/other/enlightenment_remote17
1 files changed, 10 insertions, 7 deletions
diff --git a/data/other/enlightenment_remote b/data/other/enlightenment_remote
index 212656126..87df4f53a 100644
--- a/data/other/enlightenment_remote
+++ b/data/other/enlightenment_remote
@@ -76,25 +76,28 @@ _enlightenment_remote() {
76 any_mod=${COMP_WORDS[5]} 76 any_mod=${COMP_WORDS[5]}
77 action=${COMP_WORDS[6]} 77 action=${COMP_WORDS[6]}
78 params=${COMP_WORDS[7]} 78 params=${COMP_WORDS[7]}
79 SIFS=$IFS
80 IFS=$'\n'
79 if [[ ${COMP_CWORD} -eq 2 ]]; then 81 if [[ ${COMP_CWORD} -eq 2 ]]; then
80 binding=$(enlightenment_remote -binding-key-list|grep 'REPLY:'|sed -e "s/.*CONTEXT=\(\S\+\).*/\1/"|grep -v 'REPLY:') 82 binding=$(enlightenment_remote -binding-key-list|grep 'REPLY:'|sed -e "s/.*CONTEXT=\(\S\+\)\s\+KEY=\"\(\S\+\)\"\s\+MODIFIERS=\(\S\+\)\s\+ANY_MOD=\(\S\+\)\s\+ACTION=\"\(\S\+\)\"\s\+PARAMS=\"\(\S\+\)\".*/'\1 \2 \3 \4 \5 \6'/"|grep -v 'REPLY:')
81 COMPREPLY=($(compgen -W "${binding}" -- "${cur}")) 83 COMPREPLY=($(compgen -W "${binding}" -- "${cur}"))
82 elif [[ ${COMP_CWORD} -eq 3 ]]; then 84 elif [[ ${COMP_CWORD} -eq 3 ]]; then
83 binding=$(enlightenment_remote -binding-key-list|grep 'REPLY:'|sed -e "s/.*CONTEXT=${context}\s\+KEY=\(\S\+\).*/\1/"|grep -v 'REPLY:') 85 binding=$(enlightenment_remote -binding-key-list|grep 'REPLY:'|sed -e "s/.*CONTEXT=${context}\s\+KEY=\"\(\S\+\)\"\s\+MODIFIERS=\(\S\+\)\s\+ANY_MOD=\(\S\+\)\s\+ACTION=\"\(\S\+\)\"\s\+PARAMS=\"\(\S\+\)\".*/'\1 \2 \3 \4 \5'/"|grep -v 'REPLY:')
84 COMPREPLY=($(compgen -W "${binding}" -- "${cur}")) 86 COMPREPLY=($(compgen -W "${binding}" -- "${cur}"))
85 elif [[ ${COMP_CWORD} -eq 4 ]]; then 87 elif [[ ${COMP_CWORD} -eq 4 ]]; then
86 binding=$(enlightenment_remote -binding-key-list|grep 'REPLY:'|sed -e "s/.*CONTEXT=${context}\s\+KEY=\"${key}\"\s\+MODIFIERS=\(\S\+\).*/\1/"|grep -v 'REPLY:') 88 binding=$(enlightenment_remote -binding-key-list|grep 'REPLY:'|sed -e "s/.*CONTEXT=${context}\s\+KEY=\"${key}\"\s\+MODIFIERS=\(\S\+\)\s\+ANY_MOD=\(\S\+\)\s\+ACTION=\"\(\S\+\)\"\s\+PARAMS=\"\(\S\+\)\".*/'\1 \2 \3 \4'/"|grep -v 'REPLY:')
87 COMPREPLY=($(compgen -P "'" -S "'" -W "${binding}" -- "${cur}")) 89 COMPREPLY=($(compgen -W "${binding}" -- "${cur}"))
88 elif [[ ${COMP_CWORD} -eq 5 ]]; then 90 elif [[ ${COMP_CWORD} -eq 5 ]]; then
89 binding=$(enlightenment_remote -binding-key-list|grep 'REPLY:'|sed -e "s/.*CONTEXT=${context}\s\+KEY=\"${key}\"\s\+MODIFIERS=${modifiers}\s\+ANY_MOD=\(\S\+\).*/\1/"|grep -v 'REPLY:') 91 binding=$(enlightenment_remote -binding-key-list|grep 'REPLY:'|sed -e "s/.*CONTEXT=${context}\s\+KEY=\"${key}\"\s\+MODIFIERS=${modifiers}\s\+ANY_MOD=\(\S\+\)\s\+ACTION=\"\(\S\+\)\"\s\+PARAMS=\"\(\S\+\)\".*/'\1 \2 \3'/"|grep -v 'REPLY:')
90 COMPREPLY=($(compgen -W "${binding}" -- "${cur}")) 92 COMPREPLY=($(compgen -W "${binding}" -- "${cur}"))
91 elif [[ ${COMP_CWORD} -eq 6 ]]; then 93 elif [[ ${COMP_CWORD} -eq 6 ]]; then
92 binding=$(enlightenment_remote -binding-key-list|grep 'REPLY:'|sed -e "s/.*CONTEXT=${context}\s\+KEY=\"${key}\"\s\+MODIFIERS=${modifiers}\s\+ANY_MOD=${any_mod}\s\+ACTION=\(\S\+\).*/\1/"|grep -v 'REPLY:') 94 binding=$(enlightenment_remote -binding-key-list|grep 'REPLY:'|sed -e "s/.*CONTEXT=${context}\s\+KEY=\"${key}\"\s\+MODIFIERS=${modifiers}\s\+ANY_MOD=${any_mod}\s\+ACTION=\"\(\S\+\)\"\s\+PARAMS=\"\(\S\+\)\".*/'\1 \2'/"|grep -v 'REPLY:')
93 COMPREPLY=($(compgen -W "${binding}" -- "${cur}")) 95 COMPREPLY=($(compgen -W "${binding}" -- "${cur}"))
94 elif [[ ${COMP_CWORD} -eq 7 ]]; then 96 elif [[ ${COMP_CWORD} -eq 7 ]]; then
95 binding=$(enlightenment_remote -binding-key-list|grep 'REPLY:'|sed -e "s/.*CONTEXT=${context}\s\+KEY=\"${key}\"\s\+MODIFIERS=${modifiers}\s\+ANY_MOD=${any_mod}\s\+ACTION=\"${action}\"\s\+PARAMS=\(\S\+\).*/\1/"|grep -v 'REPLY:') 97 binding=$(enlightenment_remote -binding-key-list|grep 'REPLY:'|sed -e "s/.*CONTEXT=${context}\s\+KEY=\"${key}\"\s\+MODIFIERS=${modifiers}\s\+ANY_MOD=${any_mod}\s\+ACTION=\"${action}\"\s\+PARAMS=\"\(\S\+\)\".*/'\1'/"|grep -v 'REPLY:')
96 COMPREPLY=($(compgen -W "${binding}" -- "${cur}")) 98 COMPREPLY=($(compgen -W "${binding}" -- "${cur}"))
97 fi 99 fi
100 IFS=$SIFS
98 return 0 101 return 0
99 ;; 102 ;;
100 -border-shade-transition-set) 103 -border-shade-transition-set)