公告版位
新版Blog peichengnote

目前分類:mac (4)

瀏覽方式: 標題列表 簡短摘要
[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


文章標籤

peicheng 發表在 痞客邦 留言(0) 人氣()



要在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:
文章標籤

peicheng 發表在 痞客邦 留言(0) 人氣()


當你使用 mac terminal的時候,

exit termnial的時候可能會有,留在那個視窗,

Process completed

可以調整
Prefrence / settings / when the shell exits
選擇
文章標籤

peicheng 發表在 痞客邦 留言(0) 人氣()




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. –
文章標籤

peicheng 發表在 痞客邦 留言(0) 人氣()