Skip to content

My Linux dotfiles, mostly intended for Arch usage.

Notifications You must be signed in to change notification settings

trev-dev/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

These are managed with git, using tips found here

Note: This is a mirror, and may not always be up-to-date. Consider checking out sourcehut

Installation

  1. To install these, make an alias and the following git ignore so that cloning goes well:
    alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' && \
      echo ".dotfiles" >> .gitignore
  2. Then clone this thing:
    git clone --bare git@git.sr.ht:~trevdev/dotfiles $HOME/.dotfiles
  3. Move conflicting/existing files
    mkdir -p .config-backup && \
    config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
    xargs -I{} mv {} .config-backup/{}
  4. Then checkout the config && ignore untracked files
    config checkout && config config --local status.showUntrackedFiles no
  5. Don't forget to initialize submodules and source the updated shell env
    config submodule update --init --recursive
    source .bashrc

About

My Linux dotfiles, mostly intended for Arch usage.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published