Browse Source

bash: aliases: fixed 'up' alias

Maxim Likhachev 6 years ago
parent
commit
85397d9451
  1. 2
      etc/shell/bash/aliases

2
etc/shell/bash/aliases

@ -239,7 +239,7 @@ xc() { @@ -239,7 +239,7 @@ xc() {
up() {
[[ "$1" == "" ]] && cd .. \
|| cd $(echo $PWD | \grep -o "^.*$1\/" \
|| (echo "$redПуть $1 не найден$rstc" >&2 && echo ".") )
|| (echo "${red}Путь $1 не найден${rstc}" >&2 && echo ".") )
}
#- koi8r -> utf8

Loading…
Cancel
Save