launch Sublime application in tmux 取得連結 Facebook X Pinterest 以電子郵件傳送 其他應用程式 - 3月 13, 2016 1. Install reattach-to-user-namespace brew install reattach-to-user-namespace 2. 加入alias vim ~/.bash_aliases alias subl='reattach-to-user-namespace subl' 閱讀完整內容
setup .bashrc 取得連結 Facebook X Pinterest 以電子郵件傳送 其他應用程式 - 3月 12, 2016 按照下列方式設定,讓系統可以使用~/bin的script 1. ~/.bash_profile 通常 .bash_profile 預設會調用 .bashrc 在 ~/.bash_profile 會看到下列程式碼,如沒有可以加入下列程式碼 ``` if [ -f ~/.bashrc ]; then . ~/.bashrc fi ``` 2. ~/.bashrc 將自己常用的script 放在 ~/bin 下 再加入 PATH 系統變數 ``` export PATH=~/bin:$PATH ``` 閱讀完整內容
git difftool using meld on OSX 取得連結 Facebook X Pinterest 以電子郵件傳送 其他應用程式 - 3月 12, 2016 1. 下載 meld https://yousseb.github.io/meld/ 2. 加入下列程式碼在 ~/.gitconfig ``` [diff] tool = meld [difftool] prompt = false [difftool "meld"] trustExitCode = true cmd = open -W -a Meld --args \"$LOCAL\" \"$PWD/$REMOTE\" ``` 別人介紹的blog http://www.alexkras.com/how-to-run-meld-on-mac-os-x-yosemite-without-homebrew-macports-or-think/ 閱讀完整內容