Git Product home page Git Product logo

dotfiles's Introduction

Dotfiles

Maintained and versioned config across machines.

Setup

clone

Clone the repo into your home directory. These files should be located in ~/dotfiles.

Install

Make install.sh executable and run. Installs HomeBrew and the packages defined in packages.personal.Brewfile.

  1. cd dotfiles/
  2. chmod -R 777 install.sh
  3. ./install.sh

Options:

  • -d
    Dry-Run. No side effects.

  • -s
    Attempt to stow packages using GNU stow. This will symlink defined packages to your home directory if there is no existing file or directory with the same name.

The install script will attempt the following operations:

  1. check for and install HomeBrew
  2. install packages listed in packages.personal.Brewfile

GNU stow

stow is used to symlink files from the dotfiles directory. By default, stow will symlink files to the parent directory. Some directories have targets defined in a .stowrc file if there is a different target.

  1. Install stow
  2. clone the repo
  3. $ cd ~/dotfiles and $ stow <name>

Vim

Vim has one extra dependency: after executing $ stow vim, clone the Vim package manager Vundle into ~/.vim/bundle and run :PluginInstall on start.

  1. git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim

VS Code Extensions

The vscode_ext_install script will install VS Code extensions stored in the VSCode/extensions.txt file using VS Code's --install-extension command.

Options:

  • -d
    Dry-Run. No side effects.

TODO

  • Better way to export PATH to bashrc.
  • Install NVM?

dotfiles's People

Contributors

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