顯示具有 osx 標籤的文章。 顯示所有文章
顯示具有 osx 標籤的文章。 顯示所有文章

2013年8月15日 星期四

Switching from bash to zsh on OSX

I switched from bash to zsh and installed oh-my-zsh.
Here are my dotfiles.

Screenshots:

console(ys theme)

How to stop a launchd process

osx 啟動服務都是由 launchd 來管理,

開機時會啟動下列目錄內的 plist
/System/Library/LaunchDaemons
/Library/LaunchDaemons

使用者登入後會啟動下列目錄內的 plist
/System/Library/LaunchAgents
/Library/LaunchAgents
~/Library/LaunchAgents

移除某個 service 可以用 launchctl 來控制 launchd
launchctl list
launchctl remove com.google.keystone.user.agent

這種做法重開機後,就失效,
解決辦法直接編輯 plist 加入
<key>Disabled</key>
<true/>

enjoy it~~

2012年9月10日 星期一

mac osx memo

記錄一下拿到 MacBook Pro 安裝的軟體
xCode
command line tools(主要是會用到 gcc)
homebrew(wget/most/screen...etc.)
synergy(share keyboard and mouse)
StartNinja(remove startup sound)
iTerm
Adium

bash setting
.profiile
.bashrc
.inputrc
.screenrc

接下來是 as coding 相關的
flex sdk
flash debug standalone player
java

接下來剩裝好 IDE 編輯器,
就差不多可以工作了..XD

20130815 update:
see more..
http://flashisobar.blogspot.tw/2013/08/switching-from-bash-to-zsh-on-osx.html