====== MacOS ====== * description : 맥OS 관련 내용 저장 * author : 주레피 * email : dhan@repia.com * lastupdate : 2022-03-11 ===== Intro ===== ===== Case Study ===== ===== Software ===== * iTerm2 $> open . // 디렉토리 열기 ===== Term ===== ===== Tip ===== VS Code Bash 터미널 표시 변경(branch 표시) Git Branch parse_git_branch() { git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' } #export PS1="\u@\h \W\[\033[32m\]\$(parse_git_branch)\[\033[00m\] $ " # Folder Color export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\[\033[32m\]\$(parse_git_branch)\[\033[00m\]$ " export CLICOLOR=1 export LSCOLORS=ExFxBxDxCxegedabagacad alias ls='ls -GFh' ===== Troubleshooting ===== ===== Ref ===== * [[https://dev.to/devpato/customize-your-mac-terminal-vs-code-too-easy-2315|Customize your mac and VS code terminal-EASY!]] * [[https://brew.sh/index_ko|Homebrew 설치(macOS용 패키지 관리자)]] {{tag>주레피 맥 macos mac brew}}