Skip to content

vais/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

789 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

Install

cd ~
git clone https://github.com/vais/dotfiles.git
dotfiles/sync

Sync

~/dotfiles/sync

On macOS/Linux, sync also runs stow --restow for all packages.

On Windows, use sync.bat (no GNU Stow).

Bash Profile Management

bash/ now contains a Stow-managed ~/.bash_profile that loads files from:

  • ~/.config/bash/profile.d/*.bash (shared, tracked in this repo)

Machine-specific overrides are loaded from:

  • ~/.bash_profile.local

Use ~/.config/bash/examples/local.bash.example as a template for local-only settings. Keep secrets in ~/.bash_profile.local (not in tracked repo files), for example: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and AWS_REGION.

Plugin Management

Vim

Installing

cd ~/dotfiles
git submodule add PLUGIN_URL vim/.vim/pack/plugins/start/PLUGIN_NAME
git commit -m "Install PLUGIN_NAME"

Updating

~/dotfiles/update/vim

Removing

cd ~/dotfiles
git submodule deinit vim/.vim/pack/plugins/start/PLUGIN_NAME
git rm vim/.vim/pack/plugins/start/PLUGIN_NAME
rm -rf .git/modules/vim/.vim/pack/plugins/start/PLUGIN_NAME
git commit -m "Remove PLUGIN_NAME"

Neovim

Installing

cd ~/dotfiles
git submodule add PLUGIN_URL nvim/.config/nvim/pack/plugins/start/PLUGIN_NAME
git commit -m "Install PLUGIN_NAME"

Updating

~/dotfiles/update/nvim

Removing

cd ~/dotfiles
git submodule deinit nvim/.config/nvim/pack/plugins/start/PLUGIN_NAME
git rm nvim/.config/nvim/pack/plugins/start/PLUGIN_NAME
rm -rf .git/modules/nvim/.config/nvim/pack/plugins/start/PLUGIN_NAME
git commit -m "Remove PLUGIN_NAME"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published