Skip to content

Latest commit

 

History

History
203 lines (133 loc) · 2.95 KB

README.md

File metadata and controls

203 lines (133 loc) · 2.95 KB

MyDotrc

License

MIT

Pre-install package

MacOS

xcode-select --install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

CLI

brew install starship
brew install zplug
brew install vim
brew install bat

mkdir -p .config/bat && ln -sf $HOME/dotrc/batrc $HOME/.config/bat/config
brew install lsd
brew install gh

## Install gh extensions
gh ext install github/gh-copilot

Git Plugins

brew install git-delta
brew install tig

mkdir -p .config/tig && ln -sf $HOME/dotrc/tigrc $HOME/.config/tig/config

Apps

1Password

brew install --cask 1password 1password-cli

1Password SSH key config

brew install --cask raycast
brew install --cask visual-studio-code
brew install --cask arc

SnapScan

Terminal

brew install --cask warp
brew install --cask iterm2

Font

# MS cascdia code font https://github.com/microsoft/cascadia-code
font-cascadia-code
font-cascadia-code-nf

# D2 coding
font-d2coding-nerd-font

Lang

Rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Deno

brew install deno

Config

Zsh

ln -sf $HOME/dotrc/zshrc $HOME/.zshrc
  • 업무용은 zshrc.work 파일을 이용

Git

  • User
git config --global user.email ""
git config --global user.name ""
  • Core
git config --global core.autocrlf input
git config --global core.whitespace cr-at-eol,fix,trailing-space,-indent-with-non-tab
  • Merge
git config --global merge.conflictstyle zdiff3
  • Commit
git config --global commit.template $HOME/dotrc/gitmessage
  • Delta
git config --global core.pager delta
git config --global interactive.diffFilter "delta --color-only"
git config --global delta.line-numbers true
git config --global delta.side-by-side true
git config --global delta.navigate true
git config --global delta.diff-so-fancy true
git config --global delta.hyperlinks true