Skip to content

KenjiTakahashi/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alias .f='git --git-dir="$HOME/.files/" --work-tree=$HOME'
git clone -b <branch> --bare git@github.com:KenjiTakahashi/dotfiles.git '.files'
.f checkout --recurse-submodules
.f config --local status.showUntrackedFiles no

where <branch> is one of:

  • core - common base for all machines, use for defining new configs
  • zion
  • apfel1

Other Commands

go install golang.org/x/tools/gopls@latest
go install github.com/rinchsan/gosimports/cmd/gosimports@latest
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
go install github.com/nametake/golangci-lint-langserver@latest
npm i -g typescript typescript-language-server vscode-langservers-extracted

Why not clone --separate-git-dir?

Because most probably the $HOME directory is already not empty. So cloning into it will fail. And cloning into temporary directory then rsyncing into $HOME will leave submodules with incorrect worktrees.

It can be made to work, but is actually more involved than the method above.

Inspirations

About

them config files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published