Giter Site home page Giter Site logo

dotfiles-backup's Introduction

dotfiles

This is where I keep configuration for zsh, tmux, git, and other stuff.

Prerequisites

The configuration here relies on zsh, so you'll need that first. Install it via Homebrew

brew install zsh

then set it as your default shell with the following command:

sudo dscl . -create /Users/$USER UserShell /usr/local/bin/zsh

Next, you'll need tmux 2.5 or higher. (Under tmux 2.0+, new windows will keep the working directory, and 2.3+ supports copying to the clipboard automatically when you select stuff with the mouse.) You can install it with:

brew install tmux

If you already have it, you can update it with:

brew upgrade tmux

Next, you'll need reattach-to-user-namespace. This helps with copying and pasting within tmux:

brew install reattach-to-user-namespace

Finally, you'll need to install the Powerline support files, which I use for tmux (you may or may not have to run this with sudo):

pip install --user powerline-status

You will also need:

  • rbenv
  • nvm
  • autojump

Installation

To actually install the configuration inside this repo, you'll need to clone it somewhere first. I recommend you put it in your ~/code folder because you may want to come back to it later, or fork it and make it your own.

Then run the install script. The --link option will create symlinks to relevant files in the cloned repo so that you can modify them later if need be. Additionally, if you're running this script for the first time, you'll probably want to provide your Git name and email, which will be used to author commits.

script/install --link --git-name "Your Name" --git-email "[email protected]"

Finally, after you've done this, open tmux. You may receive a warning at the top of the screen, but ignore that. Press Ctrl + Space followed by Shift + I. This will install plugins that are necessary for tmux for fully work. Then restart tmux.

Known issues

If, after starting tmux, you receive a warning about powerline.conf not being able to be loaded, your local Python directory may be owned by root instead of you. You can change the ownership like this:

sudo chown -R $USER:staff ~/Library/Python

Author

Elliot Winkler ([email protected])

dotfiles-backup's People

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.