diff --git a/README.md b/README.md index ebadc3e..ed30c36 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,11 @@ Oh My Fish provides core infrastructure to allow you to install packages which e

+

+ English • + 简体中文 +

+ # Install ```fish diff --git a/docs/en-US/FAQ.md b/docs/en-US/FAQ.md index 056adf9..15ddfe9 100644 --- a/docs/en-US/FAQ.md +++ b/docs/en-US/FAQ.md @@ -6,6 +6,12 @@
+

+ English • + 简体中文 +

+ + # FAQ Thanks for taking the time to read this FAQ. Feel free to create a new issue if your question is not answered here. diff --git a/docs/en-US/Packages.md b/docs/en-US/Packages.md index 4cea7e4..ee3ef95 100644 --- a/docs/en-US/Packages.md +++ b/docs/en-US/Packages.md @@ -1,3 +1,16 @@ +
+ + + +
+ +
+ +

+ English • + 简体中文 +

+ # Creating To learn package creation let's create a new package that will provide a `hello_world` command for your shell. Package names may only contain lowercase letters and hyphens to separate words. diff --git a/docs/zh-CN/FAQ.md b/docs/zh-CN/FAQ.md index a5e0ba6..0cc513d 100644 --- a/docs/zh-CN/FAQ.md +++ b/docs/zh-CN/FAQ.md @@ -6,6 +6,11 @@
+

+ English • + 简体中文 +

+ # FAQ 感谢您花一些时间来阅读 FAQ。如果没有从下面找到你想问的问题欢迎给我们提交新的问题(Issue)。 @@ -30,11 +35,11 @@ Oh My Fish 包是使用 fish 编写的一系列主题和插件用于扩展 Shell 目前粗略分类可以定义 3 中类型: -1. 配置增强。比如 [`pkg-pyenv`](https://github.com/oh-my-fish/pkg-pyenv) checks whether `pyenv` exists in your system and runs `(pyenv init - | psub)` for you during startup. +1. 配置增强。比如 [`pkg-pyenv`](https://github.com/oh-my-fish/pkg-pyenv) 检测 `pyenv` 是否安装并运行 `(pyenv init - | psub)`。 2. 主题. 查看我们的[主题目录](https://github.com/oh-my-fish). -3. Traditional shell utilities. For example [`pkg-copy`](https://github.com/oh-my-fish/pkg-copy), a clipboard utility compatible across Linux and OSX. +3. 系统增强。比如 [`pkg-copy`](https://github.com/oh-my-fish/pkg-copy),可同时支持 Linux 和 Mac OS X 的剪切工具。 ## Oh My Fish 主要都干了什么? @@ -92,4 +97,4 @@ chsh -s /usr/local/bin/fish ```sh chsh -s /bin/bash -``` +``` \ No newline at end of file diff --git a/docs/zh-CN/Packages.md b/docs/zh-CN/Packages.md index d0d7bfb..dc15c0a 100644 --- a/docs/zh-CN/Packages.md +++ b/docs/zh-CN/Packages.md @@ -1,3 +1,16 @@ +
+ + + +
+ +
+ +

+ English • + 简体中文 +

+ # 创建插件或主题 本教程通过创建一个简单的 `hello_world` 让我们一起来学习,插件名通常仅接受小写英文字母和连字符分割每个单词。 @@ -77,4 +90,4 @@ omf submit theme/my_theme .../my_theme_name.git 此操作仅在本地会添加一个新的注册索引,最后你还需要[提交 PR][omf-pulls-link]并入官方的注册索引。 -[omf-pulls-link]: https://github.com/oh-my-fish/oh-my-fish/pulls +[omf-pulls-link]: https://github.com/oh-my-fish/oh-my-fish/pulls \ No newline at end of file diff --git a/docs/zh-CN/README.md b/docs/zh-CN/README.md index ab478e6..4ce30ad 100644 --- a/docs/zh-CN/README.md +++ b/docs/zh-CN/README.md @@ -1,14 +1,19 @@ - + > The Fishshell Framework -[![MIT License](https://img.shields.io/badge/license-MIT-007EC7.svg?style=flat-square)](/LICENSE.md) [![Fish Shell Version](https://img.shields.io/badge/fish-v2.2.0-007EC7.svg?style=flat-square)](http://fishshell.com) [![Travis Build Status](http://img.shields.io/travis/oh-my-fish/oh-my-fish.svg?style=flat-square)](https://travis-ci.org/oh-my-fish/oh-my-fish) [![Travis Build Status](https://img.shields.io/badge/gitter-join_chat-brightgreen.svg?style=flat-square)](https://gitter.im/oh-my-fish/oh-my-fish?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +[![MIT License](https://img.shields.io/badge/license-MIT-007EC7.svg?style=flat-square)](../../LICENSE.md) [![Fish Shell Version](https://img.shields.io/badge/fish-v2.2.0-007EC7.svg?style=flat-square)](http://fishshell.com) [![Travis Build Status](http://img.shields.io/travis/oh-my-fish/oh-my-fish.svg?style=flat-square)](https://travis-ci.org/oh-my-fish/oh-my-fish) [![Travis Build Status](https://img.shields.io/badge/gitter-join_chat-brightgreen.svg?style=flat-square)](https://gitter.im/oh-my-fish/oh-my-fish?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) Oh My Fish 提供核心基础设施的配置,允许每个人可以轻松安装插件或随心所欲更换 Shell 外观样式,它的速度敏捷和可扩展性让你**如鱼得水**。

+

+ English • + 简体中文 +

+ # 安装 ```fish @@ -81,8 +86,8 @@ Oh My Fish 安装脚本会把自身启动代码加载到 fish 的配置文件 (` ## 启动脚本 -每次你新打开 Shell 都会从 _配置文件_ (默认:`~/.config/omf`) 加载 Oh My Fish 的启动脚本([`init.fish`](../init.fish)) 进行初始化: -自动加载插件,主题和你自定义的配置文件。更多信息请查看[FAQ](docs/FAQ.md#what-does-oh-my-fish-do-exactly). +每次你新打开 Shell 都会从 _配置文件_ (默认:`~/.config/omf`) 加载 Oh My Fish 的启动脚本([`init.fish`](../../init.fish)) 进行初始化: +自动加载插件,主题和你自定义的配置文件。更多信息请查看[FAQ](FAQ.md#oh-my-fish-包大概包含哪些类型). ## Dotfiles @@ -99,11 +104,11 @@ Oh My Fish 安装脚本会把自身启动代码加载到 fish 的配置文件 (` ## 创建插件 -Oh My Fish 使用了友好的插件架构能够简化插件的开发,其中包括初始化、卸载事件和函数的自动加载。[查看相关文档](docs/Packages.md) 获取更多信息。 +Oh My Fish 使用了友好的插件架构能够简化插件的开发,其中包括初始化、卸载事件和函数的自动加载。[查看相关文档](Packages.md) 获取更多信息。 # 开源协议 -Copyright (c) 2015 Bruno Ferreira Pinto. 详见 [开源协议文件](LICENSE). +Copyright (c) 2015 Bruno Ferreira Pinto. 详见 [开源协议文件](../../LICENSE). [fishshell]: http://fishshell.com