Updated guide
This commit is contained in:
parent
1a398da8e6
commit
d96fb517c6
14
README.md
14
README.md
@ -1,4 +1,4 @@
|
||||
# dot
|
||||
# Dot
|
||||
|
||||
## Description
|
||||
There is no place like $HOME. All my dotfiles, and a guide for bootstrapping a new install.
|
||||
@ -20,6 +20,18 @@ There is no place like $HOME. All my dotfiles, and a guide for bootstrapping a n
|
||||
## Usage
|
||||
Just copy and paste, or follow the guide below.
|
||||
|
||||
If you're starting out as root, do not login as user until you've altered /etc/xdg/user-dirs.defaults
|
||||
|
||||
[For example](https://myrepos.dev/Randy-Jordan/eg), you can see the [custom configuration](https://myrepos.dev/Randy-Jordan/eg/src/branch/main/xdg/custom_user-dirs), or the [default](https://myrepos.dev/Randy-Jordan/eg/src/branch/main/xdg/user-dirs.defaults).
|
||||
|
||||
Once complete, assign the appropriate privileges, and login as the user. Run the command:
|
||||
|
||||
`git init --bare $HOME/.dot` To create our config folder.<br>
|
||||
`alias config='/usr/bin/git --git-dir=$HOME/.dot/ --work-tree=$HOME' To set an alias to interact with our config.<br>
|
||||
`config config --local status.showUntrackedFiles no` So every file in $HOME is not tracked, just the ones we add.<br>
|
||||
`echo "alias config='/usr/bin/git --git-dir=$HOME/.dot/ --work-tree=$HOME'" >> $HOME/.bashrc` Adds the alias to our bashrc.
|
||||
|
||||
TODO: Set up script to pipe into bash for convenience.
|
||||
|
||||
## Credits / Resources
|
||||
[Tom Preston-Werner - README Driven Development](https://tom.preston-werner.com/2010/08/23/readme-driven-development.html)<br>
|
||||
|
Loading…
Reference in New Issue
Block a user