From 7cac8d13a49c616db399aaa10edf44735bfb22bc Mon Sep 17 00:00:00 2001 From: TaurusXin Date: Wed, 26 Jan 2022 21:17:58 +0000 Subject: [PATCH] fix: curl & wget url --- content/post/057.mac-soft-1/mac-soft-1.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/post/057.mac-soft-1/mac-soft-1.md b/content/post/057.mac-soft-1/mac-soft-1.md index 04f634e..9709b63 100644 --- a/content/post/057.mac-soft-1/mac-soft-1.md +++ b/content/post/057.mac-soft-1/mac-soft-1.md @@ -136,10 +136,10 @@ macOS 下我个人最推荐使用的是 **iTerm 2** 这个终端模拟器了, ```bash # 使用 curl 安装 -sh -c "$(curl -fsSL [https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh](https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh))" +sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" # 使用 wget 安装 -sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)" +sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" ``` 安装完成后,你的终端就会发生一些变化,有了一个默认的主题。接下来我们进行一些配置。