Coder Social home page Coder Social logo

keidrun / dotfiles Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 77 KB

Developer's quick starter for your NEW MacBook.

License: MIT License

Shell 54.17% Ruby 9.40% Vim Script 36.43%
dotfiles anyenv homebrew macbook vscode starter bash-profile bashrc iterm

dotfiles's Introduction

The dotfiles

Developer's quick starter for your NEW MacBook. You can set up your MacBook quickly and easily after you bought it.

Prerequisite

  • OS: macOS Catalina over 10.15
  • Git installed
  • Not only bash but also zsh works

How to install only dotfiles

Type the following command on your terminal then close the terminal.

curl -fsSL https://raw.githubusercontent.com/keidrun/dotfiles/master/install.sh | bash

After that, you need install Homebrew, peco, z, ccat and trash by yourselef.

How to install all application as same as my cool MacBook Pro

Step1. Install dotfiles. After installing, close the terminal

curl -fsSL https://raw.githubusercontent.com/keidrun/dotfiles/master/install.sh | bash
relogin

Step2. Install Brewfile

cd dotfiles/
sudo bash ./bin/brew-install.sh && bash ./bin/brew-install-bundle.sh
relogin
sudo xcodebuild -license accept

NOTE: If you are a Japanese speaker and use a US keyboard, I recommend ei-kana instead of karabiner.

Step3. Install sdkman

sudo bash ./bin/sdk-install.sh

Step4. Install anyenv

bash ./bin/anyenv-install.sh
relogin
bash ./bin/anyenv-install-*env.sh
relogin
bash ./bin/anyenv-install-ruby.sh && bash ./bin/anyenv-install-python.sh && bash ./bin/anyenv-install-node.sh && bash ./bin/anyenv-install-go.sh

Step5. Install some CLI tools

bash ./bin/cli-tools-install.sh

Step6. Set up Git and GitHub manually

  • Set your name and your email to user.name and user.email in .gitconfig.
  • Set your GitHub's token to HOMEBREW_GITHUB_API_TOKEN in .zshrc.

Step7. Set up Visual Studio Code

bash ./bin/code-setup.sh && bash ./bin/code-install-extensions.sh

After that, you just enjoy to develop.

Reset dotfiles

You can reset dotfiles and vim settings as default.

bash ./bin/reset-dotfiles.sh && bash ./bin/vim-install-packages.sh

NOTE: Existing dotfiles (.zshrc, .bash_profile, .bashrc, .gitconfig, .vimrc and so on) will be moved to backup directory.

Optional Settings for Fish

If you'd like to use fish instead of zsh, this provides next settings as follows.

echo /usr/local/bin/fish | sudo tee -a /etc/shells # enable fish shell
fish
fish ./bin/fisher-install.fish
fish ./bin/fish-setup.fish
chsh -s (which fish) # change default shell to fish

The above settings are not perfect so far because I use zsh. You also have to convert your .zshrc to the config.fish.

Changelog

1. [Deprecated] Sync Sublime Text settings on Dropbox

I don't longer use Sublime Text. I recommend to use Visual Studio Code instead.

If you'd still like to use Sublime Text, on the promise that you put your settings on ~/Dropbox/SyncSettings/Sublime/User, you can sync settings after you install Sublime Text and Package Control.

bash ./bin/dropbox-link-sublime3.sh

2. [Updated] Changed all settings for Zsh

The default interactive shell became zsh on macOS Catalina so every setting was changed for zsh.

dotfiles's People

Contributors

keidrun avatar

Watchers

 avatar  avatar  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.