From 7c3e668912249b3a076162bba01f5a76597c26a4 Mon Sep 17 00:00:00 2001 From: Maxim Likhachev Date: Wed, 11 Sep 2013 18:01:10 +0600 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0=20=D1=81=D0=BC=D0=B5=D0=BD=D0=B0=20=D1=80?= =?UTF-8?q?=D0=B0=D0=B7=D0=B4=D0=B5=D0=BB=D0=B0=20=D0=BD=D0=B0=20=D0=9F?= =?UTF-8?q?=D0=9A=20=D0=B2=20=D0=BB=D0=BE=D0=BA=D0=B0=D0=BB=D1=8C=D0=BD?= =?UTF-8?q?=D0=BE=D0=B9=20=D1=81=D0=B5=D1=82=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- etc/shell/bash/aliases_cygwin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/shell/bash/aliases_cygwin b/etc/shell/bash/aliases_cygwin index ddd7fc0..f25b5a4 100755 --- a/etc/shell/bash/aliases_cygwin +++ b/etc/shell/bash/aliases_cygwin @@ -1,7 +1,7 @@ #!/bin/bash #################################################################### # # Создан: Ср 14 авг 2013 12:07:22 -# Изменён: Ср 11 сен 2013 16:36:34 +# Изменён: Ср 11 сен 2013 17:59:18 # ################################################################################ #{{{ \033[00m\n\b------\n @@ -18,7 +18,7 @@ alias winshell="nh cmd.exe /c" cd_drive() { #noindex # Для пользовательских компьютеров в сети if [[ "$(pwd)" == //cb* ]]; then - cd ./${1/:}\$ + cd $(echo `pwd` | sed 's;^//\(.*\)/.*$;//\1;')/${1/:}\$ else cd $1 fi