[mac]brew install python
error when install python use brew on mac
Python/mactoolboxglue.c:472: error: old-style parameter declarations in prototyped function definition
try to re install your Command Line Tools via Xcode’s Preferences. CLT
公告版位
目前分類:mac (4)
- Sep 13 Fri 2013 18:59
[mac]brew install python Python/mactoolboxglue.c:472: error: old-style parameter declarations in prototyped function definition
- Aug 29 Thu 2013 20:39
[mac] sublime Text 使用 terminal command
要在mac 的 Command line 使用
可以使用 ln soft link 找出 Sublime text 在 Applications 內的位置 link 到 bin 內
sudo ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /bin/subl
Setup
The first task is to make a symlink to subl. Assuming you've placed Sublime Text 2 in the Applications folder, and that you have a ~/bin directory in your path, you can run:
ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" ~/bin/subl
- Nov 12 Mon 2012 15:33
[mac] mac terminal close exit Process completed
當你使用 mac terminal的時候,
exit termnial的時候可能會有,留在那個視窗,
Process completed
可以調整
Prefrence / settings / when the shell exits
選擇
close if the shell exited cleanly
- Oct 12 Fri 2012 11:05
[Mac]bashrc not work
By default, Terminal starts the shell via /usr/bin/login, which makes the shell a login shell. On every platform (not just Mac OS X) bash does not use .bashrc for login shells (only /etc/profile and the first of .bash_profile, .bash_login, .profile that exists and is readable). This is why “put source ~/.bashrc in your .bash_profile” is standard advice. –