OS X 下个性化开发环境的搭建

本人的几轮开发环境配置都是在凌乱中完成的,是时候做一整理了。

  • 安装iTerm2
    没什么话好多说。这个终端应用棒棒的,尤其是卷帘般的可随时唤出的Hotkey Window。别忘了Make iTerm2 default Term
    Screen Shot 2015-11-03 at 22.54.31

  • Homebrew
    Homebrew installs the stuff you need that Apple didn’t.

ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

A package manager with a handy command brew install that works just like apt-get install in Linux.

Snip20151024_2
Snip20151024_4

  • Fish shell
    A user-friendly command line shell.

git clone git://github.com/fish-shell/fish-shell.git
cd fish-shell
autoconf (try autoreconf if any error occurs)
./configure
make [gmake on BSD]
sudo make install

To make it default shell:

sudo nano /etc/shells

Something to be added(optional).
Snip20151024_7

chsh -s /usr/local/bin/fish

  • Oh-My-Fish
    Oh My Fish provides core infrastructure to allow you to install packages which extend or modify the look of your shell.

curl -L https://github.com/oh-my-fish/oh-my-fish/raw/master/bin/install > install
fish install

Favourable themes and plugins are reachable.
Snip20151024_12

  • Powerline fonts
    Non-ASCII fonts need to be displayed correctly.

Get Powerline fonts from github

OS X 下个性化开发环境的搭建

https://devblog.citruxonve.net/posts/ec3e375b/

Author

Semprathlon / Simfae Dean

Posted on

10/24/2015

Updated on

07/19/2023

Licensed under

Comments