Skip to content

elisabethirgens/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

my dotfiles ⚙️

Starting to git me some (version) control of my dotfiles and settings.

Symlink files 🏹

# Make symbolic links from files in this repo to home
ln -s ~/proj/dotfiles/.gitconfig ~/.gitconfig
ln -s ~/proj/dotfiles/.gitignore_global ~/.gitignore_global
ln -s ~/proj/dotfiles/.gitmsg ~/.gitmsg
ln -s ~/proj/dotfiles/.npmrc ~/.npmrc
ln -s ~/proj/dotfiles/zsh/.zshrc ~/.zshrc
ln -s ~/proj/dotfiles/zsh/.zprofile ~/.zprofile

Manage VS Code settings and extensions

# Symlink settings for VS Code
ln -s ~/proj/dotfiles/vscode/settings.json ~/Library/Application\ Support/Code/User/settings.json

While it is possible to sync settings for VS Code with an account, I didn’t want yet another account for that — and went with a manual approach of maintaining a list of potentially interesting extentions in this repo. Using these commands to export and import from one machine to another.

# Create a list of current extensions
code --list-extensions >> vscode/extensions.txt
# Pipe a list into xargs and install those
cat vscode/extensions.txt | xargs -L 1 code --install-extension

Improvements

  • Set up .zshrc so user name doesn't need to be hard coded
  • Figure out how to have secret dotfiles too

About

Git me some (version) control of my dotfiles and settings

Resources

Stars

Watchers

Forks

Contributors

Languages