Git Product home page Git Product logo

dotfiles's Introduction

dotfiles

These are my dotfiles, in the hope to simplify the transiction to any new machine.

Install

  1. The starting point is Xcode, and its Command Line Tools which you can install via xcode-select --install
  2. You'll now have git, use it to clone this repo
  3. Install Homebrew
  4. Run the setup.sh script, which will symlink all the dotfiles to $HOME and install the other tools (when running brew bundle, it might look unresponsive, but it's actually just installing casks silently)
  5. Open Vim and install its plugins via :PlugInstall
  6. Open and configure 1Password
  7. Open and configure Dropbox, as it contains the config folders for other apps

Apps you'll want to launch and configure next:

  • Alfred (wait for its .preferences folder to appear in Dropbox)
  • Shortcat
  • RescueTime
  • Tadam
  • Hammerspoon
  • flux

zsh

Zsh will be installed through Homebrew, but it needs to be set as the default shell: chsh -s $(which zsh)

If the command errors saying chsh: <# path #>: non-standard shell make sure that the path is listed in /etc/shells, if not sudo vim /etc/shells and add it. Now run chsh again.

Open a new shell instance and type echo $SHELL to make sure zsh is the current shell. If it isn't maybe try logging in and out.

The setup is currently depending on prezto, have a look at the entire installation section of the README.

You will also need to ln -s ~/.zprezto/runcoms/zpreztorc ~/.zpreztorc to enable the Prezto modules, as at the moment those are not configure in this setup.

If you get some errors about insecure folders when starting a Zsh session, check this issue.

Xcode

You can get your snippets using xcsnippets.

Also don't forget to download the documentation, so that it can be used by Dash.

PHP

The script installs PHP, but doesn't install Composer, which you'll have to do manually following the instructions here.

macOS notes

Misc

  • hub needs a configuration file in ~/.config/hub; see hub.example in this repo

dotfiles's People

Contributors

dependabot[bot] avatar mokagio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

simonekalb

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.