https://github.com/ninjainshade/dotfiles
https://github.com/ninjainshade/dotfiles
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/ninjainshade/dotfiles
- Owner: NinjaInShade
- Created: 2024-03-14T18:52:42.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-04-04T18:28:15.000Z (about 1 year ago)
- Last Synced: 2025-04-04T19:41:40.384Z (about 1 year ago)
- Language: Shell
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# My dotfiles
This repo contains all the main dotfiles for my system that I would need if ever setting up again
## Requirements
Make sure to have the following installed:
### Git
```bash
sudo apt install git
```
### GNU stow (the magic)
```bash
sudo apt intall stow
```
## Installation
The setup process is very simple:
```bash
cd $HOME
git clone git@github.com:NinjaInShade/dotfiles.git
cd dotfiles
stow --adopt .
```
As most likely some dotfiles will already exist, this normally causes stow to terminate due to a conflict. To get around this, we pass the `--adopt` flag which tells stow to overwrite any conflicting files into our stow directory.
Due to this being a git repo however, you can just quickly check what changed with `git diff`. If the changes are important, you can just commit them and push, or if not, restore the repo back to it's original state.
Either way, the files have been correctly symlinked by stow and you're ready to go!
## Adding new configs
To add a new config file(s) to this repo:
1) Move the config file you want to add here but maintaining it's directory structure from your home directory. For example, adding `~/.config/kitty/kitty.conf` would require you to make `.config/kitty/kitty.conf` inside this directory.
2) Run `stow .` to create the new symlink
3) Commit and push to the repo! :D