맥의 관련된 팁을 정리한다.
====== 감춰진 파일 보기 ======
파인더나 파일 열기 창에서 '감춰진 파일'을 보려면
Cmd + Shift + .
====== 키 입력 반복 속도 ======
  * [[http://superuser.com/questions/363252/how-to-enable-keyboard-repeat-on-a-mac|키입력반복 ON]]
키보드 입력 반복 기능이 안된다면, 콘솔 윈도우에서
defaults write -g ApplePressAndHoldEnabled -bool false
======ZSH 프롬프트 설정======
(1) 
기본 아래와 같은 형식으로 설정하기
~/shell_path/
$ 
PROMPT='[%~]
$ '
# G 컬러표시
alias ls='ls -alG'
# PATH 설정 추가하기
export PATH="/usr/local/Cellar/libpq/15.1/bin:$PATH"
(2)
path 색상 넣
PROMPT='%F{243}%~/%F{reset}
$ '
 
# G 컬러표시
alias ls='ls -alG'
# PATH 설정 추가하기
export PATH="/usr/local/Cellar/libpq/15.1/bin:$PATH"
====== 윈도우 내리는 커맨드 ======
  * **cmd-H**: \\ 전면에 있는 앱의 윈도우를 가립니다. 전면에 있는 앱을 제외한 나머지 앱을 모두 가리려면 option-command-H 키를 누릅니다.
  * **cmd-M**: \\ 전면에 있는 윈도우를 최소화하여 Dock에 추가합니다. 전면에 있는 앱의 윈도우를 모두 최소화하려면 command-option-M 키를 누릅니다.
  * **cmd-W**: \\ 전면에 있는 윈도우를 닫습니다. 앱의 윈도우를 모두 닫으려면 option-command-W 키를 누릅니다.
  * **opt-cmd-esc**: \\ 앱을 강제 종료합니다.
====== Finder에서 FullPath 보기 ======
The geekier amongst us and those familiar with Unix should really like this trick. You can have Mac OS X 10.5 display the full directory path in the Finder window title bar by issuing a simple command from the Terminal.
  defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES 
Then you’ll want to kill the Finder for changes to take effect:
  killall Finder
To disable the full path title bars and revert back to the default,
simply repeat the command with NO instead of YES as the operator:
  defaults write com.apple.finder _FXShowPosixPathInTitle -bool NO
  killall Finder
Note: this apparently only works within Mac OS X 10.5 Leopard (thanks kg!)
====== iDisk를 윈도우즈에서 쓸 수 있게 하려면 ======
애플 사이트에서 참조할 내용을 본다.
  * [[http://support.apple.com/kb/HT3264]]
====== hdd의 스마트 검사 ======
하드디스크의 스마트검사를 간단히 하고 알려준다.
  * [[http://www.versiontracker.com/dyn/moreinfo/macosx/23232]]
====== Leopard에서 한영키를 Shift+space로 변경 ======
10.4에서는 
  ~/Library/Preferences/com.apple.universalaccess.plist 
10.5에서는
  ~/Library/Preferences/com.apple.symbolichotkeys.plist
변경해야할 값은
  Root/AppleSymbolicHotkeys/60/value/parameters/2 
의 값을 
  Number : 131072 //원래값 : 1048576
로 바꿔주고, 재부팅 하면 한영전환이 Shift+Space로 바뀐다.
추가코멘트 - 다른키가 
  Key  value for modifier of Mac
  0 = no modifier
  131072 = Shift
  262144 = Control
  524288 = Option
  1048576 = Command (Apple)