Skip to content

atrakic/dotfiles

Repository files navigation

Dotfiles

DockerCI

My configuration files used in Linux env.

Features

  • Ubuntu latest
  • nvim as IDE
  • Golang
  • Python3 with batteries included
  • Ansible with community collections
  • zsh as default shell

Usage (image size ~1.6Gb)

With Docker

# build image
docker-compose build

# run container:
./bin/dotfiles.sh

On local machine without docker

# cd $HOME

# pull the repo
git clone --bare https://github.com/atrakic/dotfiles.git $HOME/.cfg
echo ".cfg" >> .gitignore

# Setup alias 
alias dotconfig='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'

# use alias
dotconfig checkout

# Add/edit config files
dotconfig add .foo/bar_config
dotconfig commit -m "Added .foo/bar_config
dotconfig push