Last active
November 28, 2022 05:39
-
-
Save hanjae-jea/11d8fffc1e2d2889aaa6b10b6d1c0063 to your computer and use it in GitHub Desktop.
My Brewfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tap "homebrew/bundle" | |
tap "homebrew/cask" | |
tap "homebrew/core" | |
brew "zsh-autosuggestions" | |
brew "zsh-syntax-highlighting" | |
brew "python3" | |
brew "node" | |
brew "exa" | |
brew "git" | |
brew "openjdk" | |
cask "discord" | |
cask "fig" | |
cask "google-chrome" | |
cask "iterm2" | |
cask "naver-whale" | |
cask "openvpn-connect" | |
cask "pycharm" | |
cask "rectangle" | |
cask "slack" | |
cask "visual-studio-code" | |
cask "alt-tab" | |
# apple trackpad TapToTouch | |
defaults write com.apple.AppleMultitouchTrackpad Clicking -int 1 | |
# apple alphabet long hold | |
defaults write -globalDomain ApplePressAndHoldEnabled -bool false | |
# finder show hidden files | |
defaults write com.apple.finder AppleShowAllFiles -bool yes | |
# trackpad settings - trackpadThreeFingerDrag | |
defaults write com.apple.AppleMultitouchTrackpad TrackpadThreeFingerDrag -bool yes | |
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadThreeFingerDrag -bool yes | |
defaults write -globalDomain TrackpadThreeFingerDrag -bool yes | |
# TODO RightClick to TwoFinger | |
# keyboard settings | |
# fn state | |
defaults write -globalDomain "com.apple.keyboard.fnState" -int 1 | |
defaults write -globalDomain InitialKeyRepeat -int 15 | |
defaults write -globalDomain KeyRepeat -int 2 | |
defaults write -globalDomain AppleShowAllExtensions -int 1 | |
# TODO SpotLight | |
# keyboard explorer | |
defaults write -globalDomain AppleKeyboardUIMode -int 2 | |
# keyboard input source | |
defaults write com.apple.HIToolbox AppleGlobalTextInputProperties -dict TextInputGlobalPropertyPerContextInput -int 2 | |
# Oh-my-zsh install | |
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
# zsh-autosuggestions | |
echo 'source /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh' >> ~/.zshrc | |
# syntax-highlight | |
echo 'source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh' >> ~/.zshrc | |
# syntax-highlight when occur error "highlighters directory not found" | |
# echo "export ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR=/opt/homebrew/share/zsh-syntax-highlighting/highlighters" >> ~/.zshenv | |
# poetry install | |
curl -sSL https://install.python-poetry.org | python3 - | |
# nvm install | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash | |
# nvm runner | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
# zsh-autosuggestions | |
echo "source /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh" >> ~/.zshrc | |
# zsh-syntax-highlighting | |
echo "source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ~/.zshrc | |
echo "export ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR=/opt/homebrew/share/zsh-syntax-highlighting/highlighters" >> ~/.zshrc | |
# python PATH | |
echo 'export PATH="/opt/homebrew/opt/[email protected]/bin:$PATH"' >> ~/.zshrc | |
echo 'export PATH="$HOME/.poetry/bin:$PATH"' >> ~/.zshrc | |
# node PATH | |
echo 'export PATH="/opt/homebrew/opt/node@16/bin:$PATH"' >> ~/.zshrc | |
# LDFLAGS | |
echo 'export LDFLAGS="-L/opt/homebrew/opt/node/lib -L/opt/homebrew/opt/python3/lib"' >> ~/.zshrc | |
# CPPFLAGS | |
echo 'export CPPFLAGS="-I/opt/homebrew/opt/node/include -I/opt/homebrew/opt/openjdk/include"' >> ~/.zshrc | |
# exa | |
echo 'alias ls="exa"' >> ~/.zshrc | |
echo 'alias ll="exa -al"' >> ~/.zshrc | |
# TODO exa-icons |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment