개발자라면, 이렇게 세팅하고 하면 편하므로, 참고하기 바란다.
1. homebrew
- homebrew를 사용하면 macOS에서 패키지를 관리하기가 엄청 편리하다.
- /usr/local/Cellar
- 여기에 데이터가 들어간다.
- brew update
- brew search mysql
- brew list
- brew install mysql
- brew tap spring-io/tap
- tap은 home-brew 저장소가 아닌 다른 저장소를 이용할 수 있게 해 준다.
- brew untap spring-io/tap
- remove other repository
2. unix terminal 사용방법
- oh-my-zsh을 사용할 것.
- iterm2 설치
- zsh 설치
- command line 줄여주기
- vi ~/.zshrc
- export PS1="dexlee$ "
1) auto suggestions 해주는 명령어
- brew install zsh-autosuggestions
- vi ~/.zshrc
- source ~/zsh-autosuggestions/zsh-autosuggestions.zsh
- 입력 후 :wq
- ps. 만약에 위치가 없다는 에러 발생 시, homebrew zsh homepage 에서 경로 확인 후 해결 할 것.
- https://formulae.brew.sh/formula/zsh-autosuggestions
- source ~/.zshrc
2) fzf 설치(빠른 파일 검색)**
- brew install fzf
(1) fzf 사용 방법
3. magnet
- 맥북을 윈도우처럼 창들을 자유롭게 변경할 수 있게 도와주는 앱이다.
- 엄청 편하다.
references
1. homebrew
2. unix terminal 사용방법
https://beomi.github.io/2017/07/07/Beautify-ZSH/
https://mattmazur.com/2012/01/27/how-to-change-your-default-terminal-prompt-in-mac-os-x-lion/
https://www.sitepoint.com/zsh-tips-tricks/
https://nesoy.github.io/articles/2017-03/ZSH
3. fzf
https://github.com/junegunn/fzf
'OS에 맞는 명령어' 카테고리의 다른 글
Homebrew (0) | 2022.01.30 |
---|---|
package manager (0) | 2022.01.18 |
unix vi 설정 (0) | 2021.12.17 |
UNIX (0) | 2021.12.17 |