Coder Social home page Coder Social logo

config-files's Introduction

Sam King's Config Files and Scripts

This contains the following config files:

  • Shells: zshrc, zshenv, login
  • Editors: vimrc, vim directory, eclimrc
  • Version Control: hgrc, gitconfig, gitignore

To use these config files, do the following:

  1. Fork this repo so that you can make your own changes.
  2. Clone your repo. I'll assume it's in ~/config-files.
  3. Run grep -n CUSTOMIZE ~/config-files to find all of the lines you need to change (eg, your username isn't samking, so it would probably be bad for your gitconfig to indicate that your username was samking).
  4. Run ~/config-files/setup-startup-scripts.bash to add includes from your actual dot files (eg, ~/.vimrc) to the ~/config-files folder.

It also contains scripts that do the following:

  • Backup mysql to Dropbox (useful as an easy backup scheme for servers)
  • Enable two finger scrolling (useful when your hardware touchpad supports two finger scrolling but Ubuntu won't let you turn it on)
  • Change the default editor in Ubuntu
  • Remove the 10,000 folder limit in Dropbox
  • Fix the permissions in a Drupal directory
  • Fix missing locales (if your terminal hasn't yelled at you about this, you don't need to worry about it)
  • Make it easier to see what the currently selected tab is in the Ubuntu terminal
  • Turn the screen off when locking the screen

Any per-computer settings should go in your actual dotfiles (eg, if I want to define an alias that only lives on my work computer, it should go in ~/.zshrc). Any settings that you want reflected on all of your computers should go in ~/config-files. That way, you can sync your computers using git push and git pull.

Note that most of the files in this repo aren't dot files (files whose names start with a dot). That's because dot files are hidden by default, and it's more convenient to see these files by default. However, your real config files (eg, ~/.vimrc still need to be dot files.

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.