======bashrc or bash_profile 移植======
- Start up Terminal
- Type
cd ~/
to go to your home folder - Type
touch .bash_profile
to create your new file. - Edit
.bash_profile
with your favorite editor (or you can just typeopen -e .bash_profile
to open it in TextEdit. - Type
. .bash_profile
to reload.bash_profile
and update any alias you add
bashrc沒有用
後來在家目錄下先建了個檔案 .bash_profile
, 檔案內容如下:
if[-f ~/.bashrc ]; then
source ~/.bashrc
fi
這樣原本寫在 .bashrc
裡的指令稿就會被讀取並且發揮作用了。
======adb 和 fastboot======
直接去下載sdk裡面的tool裡面有
然後請放入 PATH 下面
======MAC 快捷======
http://support.apple.com/kb/ht1343?viewlocale=zh_TW&locale=zh_TW
=VIM Page Up/Down= 注音輸入法下,Shift+fn+↑/↓
=縮小視窗=command+m
=顯示桌面=command+f3
=不同軟體間切換= command+tab
=同軟體不同視窗切換= command+" ` " (esc下面那個鍵)
=terminal page up/down= shift+fn+(up/down)
======叫出注意符號表======
Shift+option+b
======安裝geany=====
安裝macport
比較麻煩的是要安裝xcode這個軟體,要安裝這個軟體之前必須先去itune網頁註冊apple帳號(跟一般的apple store賬號不一樣,這個是要信用卡的)
才能免費下載app,執行app後到preference的download裡面安裝command!@#$% (我忘了XD)
然後再打sudo port install geany 就可以了
最常用的(幾乎隨時都可用者)
command + C 複製
command + X 剪下 (但Finder下不適用)
command + V 貼上
command + A 全選
command + Z 復原
command + P 播放英文語音
command + W 關閉視窗
command + Q 結束應用程式
command + “+” 放大頁面
command + “–” 縮小頁面
terminal Color部分
我是參考 http://www.vpsee.com/2013/09/use-the-solarized-color-theme-on-mac-os-x-terminal/
用solarized的color來用