Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Managing dotfiles #40

Open
chopfitzroy opened this issue Sep 15, 2022 · 0 comments
Open

Managing dotfiles #40

chopfitzroy opened this issue Sep 15, 2022 · 0 comments
Assignees
Labels
post idea Idea for a blog post

Comments

@chopfitzroy
Copy link
Owner

chopfitzroy commented Sep 15, 2022

Rough steps

  • vcsh init dotfiles
  • vcsh write-gitignore dotfiles
  • nano ~/.gitignore.d/dotfiles (Update with below content)
  • vcsh dotfiles add ~/
  • vcsh dotfiles commit -m "Init"
  • vcsh dotfiles remote add origin [email protected]:chopfitzroy/dotfiles.git
  • vcsh dotfiles push -u origin master

Basic ignore file

# Ignore everything in `~/`
*

# Track the file we are currently editing
!/.gitignore.d
!/.gitignore.d/dotfiles

# ZSH config
!/.zshrc

# Get into config dir
!/.config


# Helix modal editor
!/.config/helix
!/.config/helix/*

# Starship ZSH prompt
!/.config/starship.toml

Musing

  • It might be worth using myrepos simply because it allows multiple configs i.e config-personal-gitconfig and config-work-gitconfig.
  • Talk about possibly using fish and why starship.rs enables this and how it differs from things like oh-my-zsh.

References

@chopfitzroy chopfitzroy added the post idea Idea for a blog post label Sep 15, 2022
@chopfitzroy chopfitzroy self-assigned this Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
post idea Idea for a blog post
Projects
None yet
Development

No branches or pull requests

1 participant