Skip to content

Manoz/dotfiles-osx

 
 

Repository files navigation

Dotfiles

This repository contains a collection of dotfiles and scripts used to configure and customize my OS X environment.

Features

Prezto, the configuration framework for Zsh, is used and will be automatically installed if not detected.

Two main scripts are available:

install

This script is meant to be used after a fresh install of macOS and will automatically install all your applications from Chrome to jq and configure your environment settings.

configure

This script will install Prezto if necessary, automatically symlink all dotfiles included in this repository to their assumed location and install some useful scripts to your system.

Regarding Neovim, if not installed, Packer, a Vim plugin manager will also be installed automatically.

Included dotfiles:

Included scripts:

  • imgcat: Script showing inline images in iTerm2 v3.
  • +x: Script to quickly add execution permissions to a file.
  • gpg_wrap: Script used in .gitconfig to properly invoke GnuPG/MacGPG2 to sign all Git commits.

Usage & customization

Note: To properly customize the scripts, you should fork this repository and modify it to fit your needs and include your own configuration. You can also copy whatever portion of script / configuration that you find useful.

To install, just clone the repository and set the correct permissions:

$ git clone https://github.com/HiDeoo/dotfiles
$ cd dotfiles

Note: Make sure to backup your existing dotfiles or add all your configurations in your forked repository before using the configure script as it will erase the current ones.

Use either the install or configure script:

$ ./install
$ ./configure

install script

This script will launch the following scripts located in the setup folders:

  • xcode.sh: Install the XCode Command Line Tools.
  • homebrew.sh: Install Homebrew.
  • formulas.sh: Install various Homebrew Formulas. This is the file to edit to define all the Formulas you want to install.
  • casks.sh: Install various Casks. This is the file to edit to define all the Casks you want to install.
  • settings.sh: Configure all your environment settings. This is the file to edit to enable / disable some customizations and define your own.

configure script

The dotfiles & custom scripts installation is made using Dotbot. The configure script will automatically call Dotbot using the .configure.yaml file which contains all steps of the process.

This file allow you to configure every steps of the process by defining how dotfiles should be set up, what shell commands should be executed, etc.

You can find more informations on the Dotbot repository.

Resources

License

Code released under the MIT license.

About

My OS X environment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 92.7%
  • Lua 7.3%