發表文章

目前顯示的是有「Tool」標籤的文章

launch Sublime application in tmux

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

按照下列方式設定,讓系統可以使用~/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

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/