[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multiple commands in binding



Hi,

this is from an somewhat old post in arch bbs:

"""
The Problem is that introducing a mechanism to bind a key to multiple
commands would cause quite ugly escaping and quoting problems. Normal
shells already handle quoting and escaping => spawn a shell
"""

I can't see the awkward quoting problems you mention. A sensible
command separator would do it, won't it? And, after all, the entire

hc keybind ...

is already a shell statement that handles escaping and quoting like a
champ, in case you need to escape the separator or something. Am I
missing something here?

Regards
--
Carlos