{"id":6882,"date":"2014-12-22T12:42:28","date_gmt":"2014-12-22T04:42:28","guid":{"rendered":"http:\/\/jpuyy.com\/?p=6882"},"modified":"2016-09-30T10:56:24","modified_gmt":"2016-09-30T02:56:24","slug":"ubuntu%e4%bb%8e12-04%e5%8d%87%e7%ba%a7%e5%88%b014-04and%e5%ae%89%e8%a3%85zsh","status":"publish","type":"post","link":"https:\/\/jpuyy.com\/?p=6882","title":{"rendered":"ubuntu\u4ece12.04\u5347\u7ea7\u523014.04and\u5b89\u88c5zsh"},"content":{"rendered":"<p>\u4e00\u76f4\u7528 ubuntu 12.04 \uff0c\u4e0d\u6562\u5927\u7248\u672c\u5347\u7ea7\uff0c\u95ee\u9898\u5f88\u591a\u8fd8\u4e0d\u5982\u91cd\u88c5\u3002\u4eca\u5929\u5c1d\u8bd5\u4e86\u4e00\u4e0b\u5347\u7ea7\u5230 14.04 \uff0c\u6548\u679c\u5f88\u597d\u3002<\/p>\n<p>\u5148\u5b89\u88c5zsh\u548cgit\uff0c\u540c\u65f6\u79fb\u9664\u4e4b\u524d\u53ef\u80fd\u7684oh-my-zsh\u7684\u5b89\u88c5\u3002<\/p>\n<pre>\r\n\r\nsudo apt-get install zsh git\r\nif [ -d ~\/.oh-my-zsh ]; then\r\nrm -r ~\/.oh-my-zsh\r\nfi\r\n<\/pre>\n<p>\u624b\u52a8\u5b89\u88c5zsh\u662f\u7528\u4e8eUbuntu\u7684 sh \u6bd4\u8f83\u8be1\u5f02\uff0c\u4e0d\u8bc6\u522b source \u8fd9\u4e2a\u6307\u4ee4\u3002\u88c5\u597dzsh\u540e\u4effOS X<\/p>\n<pre>wget https:\/\/github.com\/robbyrussell\/oh-my-zsh\/raw\/master\/tools\/install.sh -O - | zsh<\/pre>\n<p>\u7136\u540e\u628ashell\u5207\u6362\u6210zsh\uff0c\u5e76\u91cd\u542f\u8ba1\u7b97\u673a\u3002<\/p>\n<pre>chsh -s `which zsh`\r\nsudo shutdown -r 0<\/pre>\n<p>\u53c2\u8003\uff1a<\/p>\n<p>http:\/\/logicmd.net\/2012\/11\/installing-zsh-on-ubuntu\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u76f4\u7528 ubuntu 12.04 \uff0c\u4e0d\u6562\u5927\u7248\u672c\u5347\u7ea7\uff0c\u95ee\u9898\u5f88\u591a\u8fd8\u4e0d\u5982\u91cd\u88c5\u3002\u4eca\u5929\u5c1d\u8bd5\u4e86\u4e00\u4e0b\u5347\u7ea7\u5230 14.04 \uff0c\u6548\u679c\u5f88\u597d\u3002 \u5148\u5b89\u88c5zsh\u548cgit\uff0c\u540c\u65f6\u79fb\u9664\u4e4b\u524d\u53ef\u80fd\u7684oh-my-zsh\u7684\u5b89\u88c5\u3002 sudo apt-get install zsh git if [ -d ~\/.oh-my-zsh ]; then rm -r ~\/.oh-my-zsh fi \u624b\u52a8\u5b89\u88c5zsh\u662f\u7528\u4e8eUbuntu\u7684 sh \u6bd4\u8f83\u8be1\u5f02\uff0c\u4e0d\u8bc6\u522b source \u8fd9\u4e2a\u6307\u4ee4\u3002\u88c5\u597dzsh\u540e\u4effOS X wget https:\/\/github.com\/robbyrussell\/oh-my-zsh\/raw\/master\/tools\/install.sh -O &#8211; | zsh \u7136\u540e\u628ashell\u5207\u6362\u6210zsh\uff0c\u5e76\u91cd\u542f\u8ba1\u7b97\u673a\u3002 chsh -s `which zsh` sudo shutdown -r 0 \u53c2\u8003\uff1a http:\/\/logicmd.net\/2012\/11\/installing-zsh-on-ubuntu\/<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[64],"tags":[],"class_list":["post-6882","post","type-post","status-publish","format-standard","hentry","category-web"],"_links":{"self":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/6882","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6882"}],"version-history":[{"count":3,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/6882\/revisions"}],"predecessor-version":[{"id":7448,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/6882\/revisions\/7448"}],"wp:attachment":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6882"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6882"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6882"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}