diff options
author | Zhiming Wang <zmwangx@gmail.com> | 2015-05-04 15:03:55 -0700 |
---|---|---|
committer | Zhiming Wang <zmwangx@gmail.com> | 2015-05-04 15:03:55 -0700 |
commit | ee374553f2ba385157eec9a816cf9b023fbfb18a (patch) | |
tree | 2972641f3de868f727f4210f97d461b4f4e1a2b5 /source/blog/2015-05-03-why-oh-my-zsh-is-completely-broken.md | |
parent | 301679861a2440a10c9eac746cec86459f445ef9 (diff) | |
download | my_new_personal_website-ee374553f2ba385157eec9a816cf9b023fbfb18a.tar.xz my_new_personal_website-ee374553f2ba385157eec9a816cf9b023fbfb18a.zip |
process post metadata
Diffstat (limited to 'source/blog/2015-05-03-why-oh-my-zsh-is-completely-broken.md')
-rw-r--r-- | source/blog/2015-05-03-why-oh-my-zsh-is-completely-broken.md | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blog/2015-05-03-why-oh-my-zsh-is-completely-broken.md b/source/blog/2015-05-03-why-oh-my-zsh-is-completely-broken.md index 3d682897..eb576efc 100644 --- a/source/blog/2015-05-03-why-oh-my-zsh-is-completely-broken.md +++ b/source/blog/2015-05-03-why-oh-my-zsh-is-completely-broken.md @@ -1,9 +1,7 @@ --- -layout: post title: "Why Oh My Zsh is completely broken" date: 2015-05-03 17:15:49 -0700 -comments: true -categories: +date-display: May 3, 2015 --- Today I moved from [Oh My Zsh](https://github.com/robbyrussell/oh-my-zsh) from [Prezto](https://github.com/sorin-ionescu/prezto), after using Oh My Zsh for about three years since 2012. I'll try to shed some light on the reasons in this post. @@ -25,7 +23,7 @@ Wait, why do I see `bzr.zsh`, `git.zsh`, and even `nvm.zsh` in the core lib? The Meanwhile, Prezto does it right. Prezto is highly modular, with the `pmodload` function defined in [`init.zsh`](https://github.com/sorin-ionescu/prezto/blob/08676a273eba1781ddcb63c4f89cfff9bd62eac4/init.zsh) to load modules. That's about the entirety of Prezto's core; everything else are in optional [modules](https://github.com/sorin-ionescu/prezto/blob/08676a273eba1781ddcb63c4f89cfff9bd62eac4/modules), including essential configs like `editor` (ZLE configs), `completion`, and `prompt`. Note that module loading order matters in some cases, but still, working with Prezto's modular structure is a joy. Apart from `init.zsh` and `modules/`, Prezto repo does contain a [`runcoms`](https://github.com/sorin-ionescu/prezto/tree/08676a273eba1781ddcb63c4f89cfff9bd62eac4/runcoms) directory with the rc files, but those are just recommendations that one may disregard. In fact, there are a total of eight lines related to Prezto in my `.zshrc`, and nowhere else (note that I only switched to Prezto today, so this freshly baked `.zshrc` is subject to change): -```sh Excerpt of .zshrc +```sh # prezto zstyle ':prezto:*:*' color 'yes' zstyle ':prezto:environment:termcap' color 'no' # disable coloring of less, which is insanely ugly |