Commit 68f450b4 authored by Bruno's avatar Bruno

Merge pull request #226 from oh-my-fish/remove-update-instructions

Remove update instructions
parents 4057b0dd d3760c48
...@@ -29,22 +29,6 @@ curl -L https://github.com/oh-my-fish/oh-my-fish/raw/master/bin/install > instal ...@@ -29,22 +29,6 @@ curl -L https://github.com/oh-my-fish/oh-my-fish/raw/master/bin/install > instal
fish install fish install
``` ```
## Update Instructions
We just moved Oh My Fish repository back to our own organization. Since then, you need to update your Oh My Fish remotes. A clean install is highly recommended for users of old Oh My Fish, and you can follow the steps described below:
1. __BACKUP ALL YOUR CUSTOM STUFF__
2. `mv ~/.config/fish/config{,_old}.fish`
3. `rm -rf ~/.oh-my-fish`
4. Do a [clean Oh My Fish install](#install)
5. Copy all lines starting with `Plugin` and `Theme` from `~/.config/fish/config_old.fish`
6. Paste them it into `$OMF_CONFIG/bundle` file. If it doesn't exist, create it
7. Convert all `Plugin "name"` lines to `package name`
8. Convert all `Theme "name"` lines to `theme name`
9. `omf install`
If you find any trouble in the upgrade process join us in [Slack](https://oh-my-fish-slack.herokuapp.com) and we will be happy to help.
# Getting Started # Getting Started
Oh My Fish includes a small utility `omf` to fetch and install new packages and themes. Oh My Fish includes a small utility `omf` to fetch and install new packages and themes.
......
...@@ -28,22 +28,6 @@ curl -L github.com/oh-my-fish/oh-my-fish/raw/master/bin/install > install ...@@ -28,22 +28,6 @@ curl -L github.com/oh-my-fish/oh-my-fish/raw/master/bin/install > install
fish install fish install
``` ```
## 更新方法
我们最近把Oh My Fish代码仓库移到了我们自己组织的帐号下。所以,你们也需要更新一下你们Oh My Fish代码仓的remote设置。对于Oh My Fish的早期用户,非常推荐你按照以下步骤干净地重新安装一次:
1. __首先备份所有你自定义的东西__
2. `mv ~/.config/fish/config{,_old}.fish`
3. `rm -rf ~/.oh-my-fish`
4. [重新安装Oh My Fish](#install)
5. 复制文件`~/.config/fish/config_old.fish`中所有以`Plugin``Theme`开始的行
6. 把它们粘贴到文件`$OMF_CONFIG/bundle`中。如果这个文件不存在,就自己创建一下
7. 把所有`Plugin "name"`这样的行转换成`package name`这种形式,其中"name"是包名字
8. 把所有`Theme "name"`这样的行转换成`theme name`这种形式,其中"name"是主题名字
9. `omf install`
如果你在更新过程中遇到困难,可以到[Slack](https://oh-my-fish-slack.herokuapp.com)上来寻求我们的帮助。
# 快速入门 # 快速入门
Oh My Fish 自带的辅助命令工具 `omf` 可以帮助你快速获取安装新插件和主题。 Oh My Fish 自带的辅助命令工具 `omf` 可以帮助你快速获取安装新插件和主题。
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment