Git Product home page Git Product logo

dotfiles's Introduction

Setup

  1. Install Apple's Command line tools
    xcode-select --install
  1. Install brew
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Follow the instructions to add brew to path and then

  1. Install git with brew
    brew install git
  1. Clone dotfiles repo

HTTPS

    git clone https://github.com/MateuszGroth/dotfiles.git ~/.dotfiles

SSH

    git clone [email protected]:MateuszGroth/dotfiles.git ~/.dotfiles
  1. Install brew in case it wasn't installed in the previous steps
    bash ./brew/install.sh

Follow the instructions to add brew to path and then

    brew bundle --file ~/.dotfiles/brew/Brewfile
  1. Bootstrap the machine (linking)
    bash ./install/bootstrap.sh
  1. Install oh my zsh
    bash ./oh-my-zsh/install.sh
  1. Install lvim

Make sure you launch nvim first so required plugins are installed

    bash ./lvim/install.sh
  1. setup git ssh connection
    cd ~/.ssh && ssh-keygen -t rsa

Create the key as you wish (name, phrase). Add the key to the ssh agent

Put the following code into your ~/.ssh/config file

Host github.com
  AddKeysToAgent yes
  UseKeychain yes
  IdentityFile ~/.ssh/<token name>

Copy the public key. Go to Account > Settings > SSH and GPK Keys, or (link)[https://github.com/settings/keys] Click on New SSH Key Add a title and put the public key into the Key textfield

Manual linking

    ln -s ~/.dotfiles/git/.gitconfig ~/.gitconfig
    ln -s ~/.dotfiles/git/gitignore ~/.gitignore
    ln -s ~/.dotfiles/hyper/.hyper.js ~/.hyper.js
    ln -s ~/.dotfiles/zsh/rc.zsh ~/.zshrc
    ln -s ~/.dotfiles/lvim/config.lua ~/.config/lvim/config.lua

Env variables

Put you environment variables into ~/.env.sh

Brew bundle

    brew bundle dump

dotfiles's People

Contributors

mateuszgroth avatar

Watchers

James Cloos 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.