瀏覽代碼

For try_git print out the directory cd'd to similar to cd -

master
Mitch Tishmack 6 年之前
父節點
當前提交
0b0308cb64
共有 1 個檔案被更改,包括 4 行新增1 行删除
  1. +4
    -1
      dotprofile.org

+ 4
- 1
dotprofile.org 查看文件

@@ -260,7 +260,10 @@ try_git()
fi
fi
else
[ -d "${repo}" ] && cd "${repo}"
if [ -d "${repo}" ]; then
echo "${repo}" | sed -e "s|$HOME|~|"
cd "${repo}"
fi
fi
}



Loading…
取消
儲存