2 Star 0 Fork 0

mirrors_jedisct1/oh-my-zsh

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

oh-my-zsh is an open source, community-driven framework for managing your ZSH configuration. It comes bundled with a ton of helpful functions, helpers, plugins, themes, and few things that make you shout…

“OH MY ZSHELL!”

Setup

oh-my-zsh should work with any recent release of zsh, the minimum recommended version is 4.3.9.

The automatic installer… (do you trust me?)

You can install this via the command line with either `curl` or `wget`.

via `curl`

curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh

via `wget`

wget --no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh

The manual way

1. Clone the repository

git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh

2. OPTIONAL Backup your existing ~/.zshrc file

cp ~/.zshrc ~/.zshrc.orig

3. Create a new zsh config by copying the zsh template we’ve provided.

cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc

4. Set zsh as your default shell:

chsh -s /bin/zsh

5. Start / restart zsh (open a new terminal is easy enough…)

Problems?

You might need to modify your PATH in ~/.zshrc if you’re not able to find some commands after switching to Oh My Zsh.

Usage

  • enable the plugins you want in your ~/.zshrc (take a look at plugins/ to see what’s possible)
    • example: plugins=(git osx ruby)
  • Theme support: Change the ZSH_THEME environment variable in ~/.zshrc.
  • much much more… take a look at lib/ what Oh My Zsh offers…

Useful

the refcard is pretty tasty for tips.

Customization

If you want to override any of the default behavior, just add a new file (ending in .zsh) into the custom/ directory.
If you have many functions which go well together you can put them as a *.plugin.zsh file in the custom/plugins/ directory and then enable this plugin.
If you would like to override the functionality of a plugin distributed with oh-my-zsh, create a plugin of the same name in the custom/plugins/ directory and it will be loaded instead of the one in plugins/.

Updates

By default you will be prompted to check for updates. If you would like oh-my-zsh to automatically update itself without prompting you, set the following in your ~/.zshrc

DISABLE_UPDATE_PROMPT=true

To disable updates entirely, put this in your ~/.zshrc

DISABLE_AUTO_UPDATE=true

Uninstalling

If you want to uninstall it, just run uninstall_oh_my_zsh from the command line and it’ll remove itself and revert you to bash (or your previous zsh config).

Help out!

I’m far from being a zsh-expert and suspect there are many ways to improve. If you have ideas on how to make the configuration easier to maintain (and faster), don’t hesitate to fork and send pull requests!

(Don’t) Send us your theme! (for now)

I’m hoping to collect a bunch of themes for our command prompts. You can see existing ones in the themes/ directory.

We have enough themes for the time being. Please fork the project and add on in there, you can let people know how to grab it from there.

Contributors

This project wouldn’t exist without all of our awesome users and contributors.

Thank you so much!

The MIT License Copyright (c) 2009-2013 Robby Russell and contributors (see https://github.com/robbyrussell/oh-my-zsh/contributors) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

暂无描述 展开 收起
Shell 等 2 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_jedisct1/oh-my-zsh.git
git@gitee.com:mirrors_jedisct1/oh-my-zsh.git
mirrors_jedisct1
oh-my-zsh
oh-my-zsh
master

搜索帮助