Skip to content
main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
os
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Dotfiles

Acid Genomics configuration files shared between machines.

Installation

We use the koopa bootloader to configure the shell automatically.

Install via koopa:

koopa install dotfiles

Or clone and install manually:

# Clone into '~/.config/dotfiles' and symlink.
repo='https://github.com/acidgenomics/dotfiles.git'
dotfiles_dir="${XDG_CONFIG_HOME:-${HOME}/.config}/dotfiles"
mkdir -pv "$dotfiles_dir"
git clone --recursive "$repo" "$dotfiles_dir"
"${dotfiles_dir}/install"

main branch rename

We renamed the default branch from master to main on 2021-04-08. If you have installed koopa preivously, run either git-rename-master-to-main or this code to update the default branch:

git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a

Update submodules

# The '--recursive' flag is problematic if submodules also contain
# additional modules.
git submodule update --init --merge --remote

Revert changes on submodules

# https://stackoverflow.com/questions/10906554/
git submodule foreach --recursive git reset --hard

Fix a problematic submodule

# https://stackoverflow.com/questions/10906554/
git submodule deinit -f .
git submodule update --init

See also

What are dotfiles?

Example dotfiles

Color themes

Emacs configuration

ZSH configuration

Alternate approaches

About

Configuration files shared between machines.

Resources

License

Releases

No releases published

Packages

No packages published