Giter Site home page Giter Site logo

dotfiles's Introduction

Mark's Dotfiles

Installation

Some basics:

  1. Install Homebrew
  2. Install Oh My Zsh
  3. Install powerlevel 10K
  4. Install bat
  5. Install Fuzzy Find

Configure FZF

export FZF_DEFAULT_COMMAND="rg --hidden --files"
export FZF_DEFAULT_OPTS='--preview="bat --style=numbers --color=always {}"'

Configure vim

set rtp+=/usr/local/opt/fzf
colo desert
syntax on

Existing Docs

Clone repositories

Yep, that's right. My scripts assume you have a general dotfiles repository, and also a dotfiles-local repository where you store stuff specific to your workstation. If you don't have a "local" repository, that's cool too. Just skip that step.

You can clone the repositories wherever you want (I like to keep them in ~/projects/).

# from ~/projects
git clone [email protected]:mjfaga/dotfiles-local.git ./dotfiles-local # Regardles of the local dotfiles name, always putit in a dotfiles-local directory
git clone [email protected]:mjfaga/dotfiles.git
cd dotfiles

Install Applications

Installs a mix of applications via Homebrew (Homebrew installed automatically by script if not already) & curl :

./apps.sh

Bootstrap script

The bootstrapper script will pull in the latest version of your dotfiles and simlink/copy the files to your home folder. If you have a dotfiles-local directory sibling, configuration in that file will be recognized as well.

# from ~/Projects
git clone [email protected]:mjfaga/dotfiles.git && cd dotfiles && source bootstrap.sh

To run the bootstrap:

cd dotfiles
source bootstrap.sh

Alternatively, to update while avoiding the confirmation prompt:

cd dotfiles
set -- -f; source bootstrap.sh

To update later on, just run that command again.

Sensible macOS defaults

When setting up a new Mac, you may want to set some sensible macOS defaults. NOTE: You may need to give the terminal app you use to run this script Full Disk Access in order for all settings to be successfully changed.

./macos.sh

Feedback

Suggestions/improvements welcome!

dotfiles's People

Contributors

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