Skip to content

SansSeryph/configs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Configs

This is a bare git repo that contains configuration files for myself. The setup for this was done using this Atlassian blog post as a guide:

Setting it up

Below is a quick one-shot list of commands to just get everything to work for the fish shell. It will:

  1. Back up configs that will conflict with the repo during checkout
  2. Clone the repo. You'll need to update the path if you fork this
  3. Install everything using git checkout
mv $HOME/.config/bat $HOME/.config/bat.bak
mv $HOME/.config/fish $HOME/.config/fish.bak
mv $HOME/.config/kitty $HOME/.config/kitty.bak
mv $HOME/.config/nvim $HOME/.config/nvim.bak

mv $HOME/.default-gems $HOME/.default-gems.bak
mv $HOME/.default-npm-packages $HOME/.default-npm-packages.bak
mv $HOME/.default-python-packages $HOME/.default-python-packages.bak

set -l config git --git-dir $HOME/Workspace/configs/ --work-tree=$HOME
git clone --bare [email protected]:SansSeryph/configs.git $HOME/Workspace/configs/
config checkout
config config --local status.showUntrackedFiles no

Important

If a file exists while checkout is running, it will throw an error. Be sure to back up or handle the file somehow before moving on

Tip

Be sure to run LazyHealth after installation to make sure Neovim is good

Working with this repo

After setting the config files up, it will add a fish terminal alias for the command config, which is an alias for git that uses this repository. You can use it to work with the files that are tracked here. Examples:

config status
config add <path>
config commit -m <message>

About

My OS and application config files!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published