Skip to content

reireias/dotfiles

Repository files navigation

Actions Status Actions Status License: MIT

reireias's dotfiles

My dotfiles for Linux and OSX.

terminal

Quick Start

  • clone this repository
  • make dotfiles && make dependencies

Screenshots

Details

Installation

This dotfiles installation is managed by Ansible and Makefile.

make dotfiles create symbolic links in home directory.
Files are created as symbolic links and directories are created as directories.

make dependencies installs packages and plugins.

These implementations can be found in the ansible directory.

Customize iwith local rc files

The following script in .zshrc allows you to write machine-specific settings in the .zshrc_local file, such as a proxy.

if [[ -e ~/.zshrc_local ]]; then
    source ~/.zshrc_local
fi

The same is true for vimrc.

Development

Run lint (shellcheck, ansible-lint, vint)

$ make lint

Test .bashrc and .zshrc, check zsh plugin installed.

$ make test

Test on Docker

$ docker run --rm -it -u ubuntu reireias/non-root-user-ubuntu:22.04 bash
$ sudo apt update
$ cd
$ git clone https://github.com/reireias/dotfiles.git
$ cd dotfiles
$ make dotfiles
$ make dependencies
$ zsh

# onliner
$ sudo apt update && cd && git clone https://github.com/reireias/dotfiles.git && cd dotfiles && make dotfiles && make dependencies && zsh