GeReV / dotfiles

My OS X / Ubuntu dotfiles.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dotfiles

My OSX / Ubuntu dotfiles.

About this project

This repository is managed with chezmoi.

The main attractions are:

Installation

If chezmoi is already installed:

chezmoi init --apply -S ~/.dotfiles https://github.com/gerev/dotfiles.git

For a complete setup, including chezmoi:

Ubuntu

sh -c "$(wget -qO- chezmoi.io/get)" -- init --apply -S ~/.dotfiles https://github.com/gerev/dotfiles.git

macOS

Complete setup, including chezmoi:

sh -c "$(curl -fsSL chezmoi.io/get)" -- init --apply -S ~/.dotfiles https://github.com/gerev/dotfiles.git 

Details

Other subdirectories

  • The .chezmoiscripts directory contains all setup scripts that are run once on setup.
  • The /bin directory contains utility shell scripts. This directory is added to the path.
  • The /config directory just exists. If a config file doesn't need to go in ~/, reference it from the /config directory.
  • The /source directory contains files that are sourced whenever a new shell is opened (in alphanumeric order, hence the funky names).
  • The /test directory contains unit tests for especially complicated bash functions.
  • The /caches directory contains cached files, used by some scripts or functions. It is created during setup.

Setup scripts

OS X

Ubuntu

Both

OS X Notes

You need to have XCode or, at the very minimum, the XCode Command Line Tools, which are available as a much smaller download.

The easiest way to install the XCode Command Line Tools in OSX 10.9+ is to open up a terminal, type xcode-select --install and follow the prompts.

Tested in OSX 10.15

Tested in Ubuntu 21.04

License

Copyright (c) 2022 Amir Grozki
Licensed under the MIT license.

About

My OS X / Ubuntu dotfiles.

License:MIT License


Languages

Language:Shell 56.1%Language:Vim Script 36.2%Language:Perl 4.3%Language:Ruby 2.3%Language:Python 0.8%Language:CSS 0.3%