From 8584af3e3e5e513eeb8c871069b833dd51e14e10 Mon Sep 17 00:00:00 2001 From: ivaquero Date: Tue, 21 May 2024 09:08:41 +0800 Subject: [PATCH] update readme --- README.md | 8 ++------ README_CN.md | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index d7d71d0c..e29ff4d8 100755 --- a/README.md +++ b/README.md @@ -21,10 +21,8 @@ Let's Oxidize Development Environments For macOS / Linux (Intel) ```sh -git clone --depth=1 https://github.com/ivaquero/oxidizer.git && bash oxidizer/install.sh - -# customize path for Oxidizer export OXIDIZER=$HOME/oxidizer +git clone --depth=1 https://github.com/ivaquero/oxidizer.git $OXIDIZER && bash oxidizer/install.sh ``` Note that Homebrew is an essential dependency for Oxidizer on macOS / Linux. For China mainland users, you may set `BREW_CN` variable to install Homebrew through domestic mirror @@ -38,10 +36,8 @@ export BREW_CN=1 For Windows ```powershell -git clone --depth=1 https://github.com/ivaquero/oxidizer.git; . oxidizer\install.ps1 - -# customize path for Oxidizer $env:OXIDIZER = "$HOME\oxidizer" +git clone --depth=1 https://github.com/ivaquero/oxidizer.git $env:OXIDIZER; . oxidizer\install.ps1 ``` Note that Scoop is an essential dependency for Oxidizer on Windows. For China mainland users, you may set `SCOOP_CN` variable to install Scoop through domestic mirror diff --git a/README_CN.md b/README_CN.md index b4b8c935..bd1870ab 100644 --- a/README_CN.md +++ b/README_CN.md @@ -19,10 +19,8 @@ 对 macOS / Linux(Intel) ```sh -git clone --depth=1 https://github.com/ivaquero/oxidizer.git $OXIDIZER && bash $OXIDIZER/install.sh - -# 自定义安装路径 export OXIDIZER=$HOME/oxidizer +git clone --depth=1 https://github.com/ivaquero/oxidizer.git $OXIDIZER && bash $OXIDIZER/install.sh ``` - 对中国大陆用户,可设置 `BREW_CN` 变量来下载安装 Homebrew: @@ -34,10 +32,8 @@ export BREW_CN=1 对 Windows ```powershell -git clone --depth=1 https://github.com/ivaquero/oxidizer.git $env:OXIDIZER; . $env:OXIDIZER\install.ps1 - -# 自定义安装路径 $env:OXIDIZER = "$HOME\oxidizer" +git clone --depth=1 https://github.com/ivaquero/oxidizer.git $env:OXIDIZER; . $env:OXIDIZER\install.ps1 ``` > 对于 Cmder 用户,你需要删除`%CMDER_ROOT%\vendor\profile.ps1`的最后一行`Set-Item -Path function:\prompt -Value $Prompt -Options ReadOnly`中的`-Options ReadOnly`。