Skip to content

nicholasdille/dotfiles

Repository files navigation

dotfiles

This repository contains my dotfiles. Please mind that my dotfiles are strongly opinionated.

Installation

The following commands create a checkout in your home directory. For this, a detached head is used with the .git directory stored in ~/.cfg.

git clone --bare https://github.com/nicholasdille/dotfiles $HOME/.cfg
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
config config --local status.showUntrackedFiles no
rm ~/.bash_logout ~/.bashrc ~/.profile
config checkout

As soon as you start a login shell for the first time, you will see the first launch setup.

Windows Subsystem for Linux (WSL)

To create a new distribution, download a root filesystem, e.g. Ubuntu Hirsute, then import it using wsl.exe --import my_name c:\wsl\ubuntu ~\Downloads\hirsute-server-cloudimg-amd64-wsl.rootfs.tar.gz. Afterwards set a username as documented here.

For pretty prompts (based on powerline) you need to install a proper terminal emulator and fonts. I recommend the Windows Terminal with Cascadia Code.