add caps2esc and caps2escx bash functions