Giter Site home page Giter Site logo

dotfiles's Introduction

macOS setup

Register ssh-key to github.com

$ chsh -s /bin/zsh
$ xcode-select --install
$ ssh-keygen -t rsa
$ cat ~/.ssh/id_rsa.pub | pbcopy
// register the ssh-key to github.com

Use setup scripts in dotfiles

$ git clone [email protected]:kthatoto/dotfiles.git
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
$ brew bundle --file ~/dotfiles/assets/Brewfile

Symblic links

$ ln -s ~/dotfiles/.zshrc     ~/.zshrc
$ ln -s ~/dotfiles/.zsh       ~/.zsh
$ ln -s ~/dotfiles/.config    ~/.config
$ ln -s ~/dotfiles/.gitconfig ~/.gitconfig

Install langs

$ anyenv install --init
$ anyenv install goenv
$ anyenv install nodenv
$ anyenv install rbenv
$ anyenv install pyenv
$ git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.13.1
$ asdf plugin add ruby https://github.com/asdf-vm/asdf-ruby.git
$ asdf install ruby latest
$ asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git
$ asdf install nodejs latest

Configure applications

  • iTerm2
    • Profiles > Colors
      • Import ~/dotfiles/assets/hybrid.itermcolors into "Color Presets" and select it
      • Set #3e65b3 to "Selection"
  • Neovim
$ cd ~/dotfiles/.config/nvim/dein
$ ./dein_installer.sh .
$ pyenv install <version>
$ pyenv global <version>
$ pip install neovim // for denite.vim
$ vi
:call dein#update()
:UpdateRemotePlugins

[required]
:CocInstall coc-tsserver
:CocInstall coc-json
:CocInstall coc-pairs
:CocInstall coc-solargraph
:CocInstall coc-eslint
:CocInstall @yaegassy/coc-volar

[optional]
:CocInstall coc-prettier

$ asdf global ruby latest
$ sudo gem install solargraph

gcloud

$ curl https://sdk.cloud.google.com | zsh

etc

// to display dotfiles on finder
command + shift + .

$ mkdir -p ~/assets/screenshots; defaults write com.apple.screencapture location ~/assets/screenshots
$ defaults write com.apple.screencapture name "screenshot"
$ defaults write -g ApplePressAndHoldEnabled -bool false
$ defaults write /Library/Preferences/FeatureFlags/Domain/UIKit.plist redesigned_text_cursor -dict-add Enabled -bool NO

dotfiles's People

Contributors

kthatoto avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.