diff --git a/etc/shell/bash/aliases b/etc/shell/bash/aliases index bd02495..72a5044 100755 --- a/etc/shell/bash/aliases +++ b/etc/shell/bash/aliases @@ -152,10 +152,10 @@ command_not_found_handle() { #noindex if grep -q '[фывапролджэйцукенгшщзхъячсмитьбю]' 2>&1 > /dev/null <<<"$1"; then ex="$(echo -n "$@" | \ sed "y/йцукенгшщзхъфывапролджэячсмитьбю\.ЙЦУКЕНГШЩЗХЪФЫВАПРОЛДЖЭЯЧСМИТЬБЮ,/qwertyuiop\[\]asdfghjkl;\'zxcvbnm,\.\/QWERTYUIOP\{\}ASDFGHJKL:\"ZXCVBNM<>\?/")" - echo "${red}[$@] -> ${green}[${ex}]${rstc}" + echo -e "${red}[$@] -> ${green}[${ex}]${rstc}" bash --rcfile ~/.bashrc -c "$ex" else - echo >&2 "${red}Команда ${green}${1}${red} не найдена.$rstc" + echo >&2 -e "${red}Команда ${green}${1}${red} не найдена.$rstc" fi fi }