From ddafb8c22fde2bc07c33dc1e874795bf468dc97d Mon Sep 17 00:00:00 2001 From: Derek Stavis Date: Fri, 2 Oct 2015 20:33:07 -0300 Subject: [PATCH] Update installation script instructions --- README.md | 5 ++--- docs/zh-CN/README.md | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e1433e9..3518d94 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Oh My Fish provides core infrastructure to allow you to install packages which e # Install ```fish -curl -L github.com/oh-my-fish/oh-my-fish/raw/master/bin/install | sh +curl -L github.com/oh-my-fish/oh-my-fish/raw/master/bin/install | source - omf help ``` @@ -26,8 +26,7 @@ Or _download_ and run it yourself: ```fish curl -L github.com/oh-my-fish/oh-my-fish/raw/master/bin/install > install -chmod +x install -./install +source install ``` ## Update Instructions diff --git a/docs/zh-CN/README.md b/docs/zh-CN/README.md index 0a53c06..c1cbf0b 100644 --- a/docs/zh-CN/README.md +++ b/docs/zh-CN/README.md @@ -17,7 +17,7 @@ Oh My Fish 提供核心基础设施的配置,允许每个人可以轻松安装 # 安装 ```fish -curl -L github.com/oh-my-fish/oh-my-fish/raw/master/bin/install | sh +curl -L github.com/oh-my-fish/oh-my-fish/raw/master/bin/install | source - omf help ``` @@ -25,8 +25,7 @@ omf help ```fish curl -L github.com/oh-my-fish/oh-my-fish/raw/master/bin/install > install -chmod +x install -./install +source install ``` # 快速入门