mlyixi's Blog

欲望的唤醒,信仰的坚定
xcode子工程及cocoapods管理
vimified使用

mac, kde4切换到zsh,打造有git提示的美化shell

mlyixi posted @ 2012年12月12日 05:59 in 未分类 with tags mac zsh agnoster , 6364 阅读

MAC:

安装 homebrew:

然后 brew install zsh, vim , macvim etc...

修改/etc/paths:

将/usr/local/bin 设为第一行。系统将优行查找/usr/local/bin 中的程序

修改/etc/shells:

添加/usr/local/bin/zsh,注册 shell.

 

下载ohmyzsh:

 

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

 

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

 

chsh -s /usr/local/bin/zsh

 

当然也可以把它放到云端,复制出.zshrc,建立oh-my-zsh的软链接

 

ln -s /path/to/cloud/oh-my-zsh/ ~/.oh-my-zsh

 

下载iTerm2,这时已经切换到zsh.

使用agnoster主题

打开.zshrc,设置:

 

SH_THEME="agnoster"

 

DEFAULT_USER="your user name"

设置配色方案:

下载之,然后打开iTerm的首选项,打开profiles中的Colors,load Presets,import "Solarized Dark.itermcolors"

然后在load Presets中选中Solarized Dark。

打字体 补丁:

打开font book

添加系统的字体

这样,该主题就设置好了,可以重启iTerm看看效果啦。PS: 新版的 iTerm2要配合新版的 theme 文件,而 oh-my-zh 的 theme 文件是旧版(172行),需要更新成115行的 theme 文件才可以正常显示如下特殊字符。

之后你可以将你原先在bashrc上的设置全部放到zshrc上。

 

KDE4:

安装zsh后切换到zsh

启用配色方案,在最新的kconsole下已经有solarized配色方案了。不知道是不是oh-my-zsh的原因。所以在settings--manag profiles--edit profile--appearance下修改就好。

安装字体。

 

Avatar_small
Things to do 说:
2022年5月18日 23:20

The travel addict inside you is craving for new adventure? Things to do post will suggest you the new destination for your next journey with all the best spots around the world.

Avatar_small
charlly 说:
2022年12月27日 20:53

KDE4 is a great desktop environment, but it can be a bit resource-heavy. If you're looking for a more lightweight option, consider switching to ZSH. ZSH is a Linux shell that is known for being very customizable. One of the best things about ZSH is that you can create a "beautified" shell with Git prompts. This can help you keep track of your CBD Hemp Oil repositories and make your shell look more aesthetically pleasing.

Avatar_small
seo service london 说:
2024年1月15日 20:05

This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information

Avatar_small
사설토토사이트 说:
2024年1月30日 19:43

This is my first time i visit here. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the leisure here! Keep up the good work. I have been meaning to write something like this on my website and you have given me an idea.

Avatar_small
바카라 게임 규칙 说:
2024年1月30日 20:33

This is my first time i visit here. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the leisure here! Keep up the good work. I have been meaning to write something like this on my website and you have given me an idea.

Avatar_small
세븐도메인 说:
2024年1月30日 20:53

This is my first time i visit here. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the leisure here! Keep up the good work. I have been meaning to write something like this on my website and you have given me an idea.

Avatar_small
파워볼최상위사이트 说:
2024年1月30日 21:03

This is my first time i visit here. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the leisure here! Keep up the good work. I have been meaning to write something like this on my website and you have given me an idea.

Avatar_small
토토하우스보증업체 说:
2024年1月30日 21:14

Good Thank you for another great article. Where else could anyone get that kind of information in such a perfect way of writing? I have a presentation next week, and I am on the look for such information. This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free.

Avatar_small
메이저사이트 순위 说:
2024年1月30日 21:32

"Excellent post. I was always checking this blog, and I’m impressed! Extremely useful info specially the last part, I care for such information a lot. I was exploring this particular info for a long time. Thanks to this blog my exploration has ended.The problem we struggled with was how to provide more assistance
to those in need without the resources to create more bed space."

Avatar_small
가입시 꽁머니 주는 사이트 说:
2024年1月30日 21:39

A to a great degree brilliant blog passage. We are really grateful for your blog passage. fight, law usage You will find an extensive measure of techniques in the wake of heading off to your post. I was absolutely examining for. An obligation of appreciation is all together for such post and please keep it up. Mind blowing work.

Avatar_small
먹튀검증 说:
2024年1月30日 21:49

A to a great degree brilliant blog passage. We are really grateful for your blog passage. fight, law usage You will find an extensive measure of techniques in the wake of heading off to your post. I was absolutely examining for. An obligation of appreciation is all together for such post and please keep it up. Mind blowing work.

Avatar_small
토토사이트 说:
2024年1月30日 22:02

Youre so cool! I dont suppose Ive learn something like this before. So good to find somebody with some unique ideas on this subject. realy thank you for beginning this up. this website is something that is needed on the net, somebody with somewhat originality. helpful job for bringing something new to the internet!

Avatar_small
토토사이트 说:
2024年1月30日 22:30

A to a great degree brilliant blog passage. We are really grateful for your blog passage. fight, law usage You will find an extensive measure of techniques in the wake of heading off to your post. I was absolutely examining for. An obligation of appreciation is all together for such post and please keep it up. Mind blowing work.

Avatar_small
인터넷바카라 说:
2024年1月30日 22:39

I no uncertainty esteeming each and every bit of it. It is an amazing site and superior to anything normal give. I need to grateful. Marvelous work! Every one of you complete an unfathomable blog, and have some extraordinary substance. Keep doing stunning. As a Newbie, I am always exploring online for articles that can be of assistance to me. Thank you

Avatar_small
메이저놀이터가입 说:
2024年1月30日 22:52

I was intrigued accepting that you at whatever point imagined of changing the plan of your site? Its very much made I genuinely like what you've got to say. However, no doubt you might somewhat more in the technique for material at some point so individuals could get along with it better.

Avatar_small
인터넷바카라 说:
2024年1月30日 22:57

Excellent post. I was always checking this blog, and I’m impressed! Extremely useful info specially the last part, I care for such information a lot. I was exploring this particular info for a long time. Thanks to this blog my exploration has ended.Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info

Avatar_small
슈어맨주소 说:
2024年1月30日 23:11

I was intrigued accepting that you at whatever point imagined of changing the plan of your site? Its very much made I genuinely like what you've got to say. However, no doubt you might somewhat more in the technique for material at some point so individuals could get along with it better.

Avatar_small
안전한온라인카지노 说:
2024年1月30日 23:13

Great post i must say and thanks for the information. Education is definitely a sticky subject. However, is still among the leading topics of our time. I appreciate your post and look forward to more. i am for the first time here. I found this board and I in finding It truly helpful & it helped me out a lot. I hope to present something back and help others such as you helped me. I hope that it doesnt disappoint me as much as this one. I mean, I know it was my choice to read, but I actually thought you have something interesting to say. All I hear is a bunch of whining about something that you could fix if you werent too busy looking for attention

Avatar_small
카지노사이트순위 说:
2024年1月30日 23:19

Great post i must say and thanks for the information. Education is definitely a sticky subject. However, is still among the leading topics of our time. I appreciate your post and look forward to more. i am for the first time here. I found this board and I in finding It truly helpful & it helped me out a lot. I hope to present something back and help others such as you helped me. I hope that it doesnt disappoint me as much as this one. I mean, I know it was my choice to read, but I actually thought you have something interesting to say. All I hear is a bunch of whining about something that you could fix if you werent too busy looking for attention

Avatar_small
안전검증사이트 说:
2024年1月30日 23:23

I was intrigued accepting that you at whatever point imagined of changing the plan of your site? Its very much made I genuinely like what you've got to say. However, no doubt you might somewhat more in the technique for material at some point so individuals could get along with it better.

Avatar_small
คาสิโนออนไลน์ 说:
2024年1月30日 23:35

Great post i must say and thanks for the information. Education is definitely a sticky subject. However, is still among the leading topics of our time. I appreciate your post and look forward to more. i am for the first time here. I found this board and I in finding It truly helpful & it helped me out a lot. I hope to present something back and help others such as you helped me. I hope that it doesnt disappoint me as much as this one. I mean, I know it was my choice to read, but I actually thought you have something interesting to say. All I hear is a bunch of whining about something that you could fix if you werent too busy looking for attention

Avatar_small
메이저사이트 说:
2024年1月30日 23:37

Excellent post. I was always checking this blog, and I’m impressed! Extremely useful info specially the last part, I care for such information a lot. I was exploring this particular info for a long time. Thanks to this blog my exploration has ended.Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info

Avatar_small
안전놀이터주소 说:
2024年1月30日 23:42

I truly welcome this superb post that you have accommodated us. I guarantee this would be valuable for the vast majority of the general population. I am reading your writing well. I know a site that might be helpful for your writing. please read my article and tell us your impressions. After reading your article I was amazed. I know that you explain it very well. And I hope that other readers will also experience how I feel after reading your article . This is an excellent post I seen thanks to share it. It is really what I wanted to see hope in future you will continue for sharing such a excellent post . Really i appreciate the effort you made to share the knowledge. The topic here i found was really effective to the topic which i was researching for a long time

Avatar_small
꽁머니 카지노 说:
2024年1月30日 23:59

I admire this article for the well-researched content and excellent wording. I got so involved in this material that I couldn’t stop reading. I am impressed with your work and skill. Thank you so much. I haven’t any word to appreciate this post.....Really i am impressed from this post....the person who create this post it was a great human..thanks for shared this with us.

Avatar_small
메이저토토 说:
2024年1月31日 00:06

This is my first time i visit here. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the leisure here! Keep up the good work. I have been meaning to write something like this on my website and you have given me an idea.

Avatar_small
해외사이트 说:
2024年1月31日 00:15

This is my first time i visit here. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the leisure here! Keep up the good work. I have been meaning to write something like this on my website and you have given me an idea.

Avatar_small
동행복권 说:
2024年1月31日 00:21

This is my first time i visit here. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the leisure here! Keep up the good work. I have been meaning to write something like this on my website and you have given me an idea.

Avatar_small
꽁머니 说:
2024年1月31日 00:36

Good Thank you for another great article. Where else could anyone get that kind of information in such a perfect way of writing? I have a presentation next week, and I am on the look for such information. This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free.

Avatar_small
온라인카지노 说:
2024年1月31日 00:47

"Excellent post. I was always checking this blog, and I’m impressed! Extremely useful info specially the last part, I care for such information a lot. I was exploring this particular info for a long time. Thanks to this blog my exploration has ended.The problem we struggled with was how to provide more assistance
to those in need without the resources to create more bed space."

Avatar_small
안전놀이터 说:
2024年1月31日 01:03

A to a great degree brilliant blog passage. We are really grateful for your blog passage. fight, law usage You will find an extensive measure of techniques in the wake of heading off to your post. I was absolutely examining for. An obligation of appreciation is all together for such post and please keep it up. Mind blowing work.

Avatar_small
우리계열 说:
2024年1月31日 01:12

A to a great degree brilliant blog passage. We are really grateful for your blog passage. fight, law usage You will find an extensive measure of techniques in the wake of heading off to your post. I was absolutely examining for. An obligation of appreciation is all together for such post and please keep it up. Mind blowing work.

Avatar_small
메이저놀이터추천 说:
2024年1月31日 01:21

A to a great degree brilliant blog passage. We are really grateful for your blog passage. fight, law usage You will find an extensive measure of techniques in the wake of heading off to your post. I was absolutely examining for. An obligation of appreciation is all together for such post and please keep it up. Mind blowing work.

Avatar_small
토토핫주소 说:
2024年1月31日 01:31

I no uncertainty esteeming each and every bit of it. It is an amazing site and superior to anything normal give. I need to grateful. Marvelous work! Every one of you complete an unfathomable blog, and have some extraordinary substance. Keep doing stunning. As a Newbie, I am always exploring online for articles that can be of assistance to me. Thank you

Avatar_small
슈어맨배너 说:
2024年1月31日 01:40

Youre so cool! I dont suppose Ive learn something like this before. So good to find somebody with some unique ideas on this subject. realy thank you for beginning this up. this website is something that is needed on the net, somebody with somewhat originality. helpful job for bringing something new to the internet!

Avatar_small
라이브배팅 说:
2024年1月31日 01:46

Hello I am so delighted I located your blog, I really located you by mistake, while I was watching on google for something else, Anyways I am here now and could just like to say thank for a tremendous post and a all round entertaining website. Please do keep up the great work

Avatar_small
토토커뮤니티 说:
2024年1月31日 01:52

Hello I am so delighted I located your blog, I really located you by mistake, while I was watching on google for something else, Anyways I am here now and could just like to say thank for a tremendous post and a all round entertaining website. Please do keep up the great work

Avatar_small
슈어맨 먹튀검증 说:
2024年1月31日 01:59

Hello I am so delighted I located your blog, I really located you by mistake, while I was watching on google for something else, Anyways I am here now and could just like to say thank for a tremendous post and a all round entertaining website. Please do keep up the great work

Avatar_small
총판 걸릴확률 说:
2024年1月31日 02:08

"I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! keep up the good work… These fortunate web sites are properly ranked by Bing, and by backlinking your site may also position well.
"


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter