Code Monkey home page Code Monkey logo

dotfiles's Introduction

my dotfiles ⚙️

Starting to git me some (version) control of my dotfiles and settings.

Symlink files 🏹

# Make symbolic links from files in this repo to home
ln -s ~/proj/dotfiles/.gitconfig ~/.gitconfig
ln -s ~/proj/dotfiles/.gitignore_global ~/.gitignore_global
ln -s ~/proj/dotfiles/.gitmsg ~/.gitmsg
ln -s ~/proj/dotfiles/.npmrc ~/.npmrc
ln -s ~/proj/dotfiles/.tool-versions ~/.tool-versions
ln -s ~/proj/dotfiles/zsh/.zshrc ~/.zshrc
ln -s ~/proj/dotfiles/zsh/.zprofile ~/.zprofile

Manage VS Code settings and extensions

# Symlink settings for VS Code
ln -s ~/proj/dotfiles/vscode/settings.json ~/Library/Application\ Support/Code/User/settings.json

While it is possible to sync settings for VS Code with an account, I didn’t want yet another account for that — and went with a manual approach of maintaining a list of potentially interesting extentions in this repo. Using these commands to export and import from one machine to another.

# Create a list of current extensions
code --list-extensions >> vscode/extensions.txt
# Pipe a list into xargs and install those
cat vscode/extensions.txt | xargs -L 1 code --install-extension

Improvements

  • Set up .zshrc so user name doesn't need to be hard coded
  • Figure out how to have secret dotfiles too

dotfiles's People

Contributors

elisabethirgens avatar

Stargazers

Selim Horri avatar

Watchers

 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.