Added dynamic .gitconfig and more instructions
This commit is contained in:
parent
db64bfb7aa
commit
28ade11bb2
@ -1,6 +1,5 @@
|
|||||||
[user]
|
|
||||||
name = Kris Lamoureux
|
|
||||||
email = KrisPublicEmail@gmail.com
|
|
||||||
[core]
|
[core]
|
||||||
editor = vim
|
editor = vim
|
||||||
|
|
||||||
|
[include]
|
||||||
|
path = ~/.gitconfig_other
|
||||||
|
14
README.md
14
README.md
@ -8,15 +8,26 @@ You may want to backup your current dotfiles:
|
|||||||
mv ~/.bash_aliases ~/.bash_aliases-$(date '+%Y%m%d%H%M%S')
|
mv ~/.bash_aliases ~/.bash_aliases-$(date '+%Y%m%d%H%M%S')
|
||||||
mv ~/.bashrc ~/.bashrc-$(date '+%Y%m%d%H%M%S')
|
mv ~/.bashrc ~/.bashrc-$(date '+%Y%m%d%H%M%S')
|
||||||
mv ~/.vimrc ~/.vimrc-$(date '+%Y%m%d%H%M%S')
|
mv ~/.vimrc ~/.vimrc-$(date '+%Y%m%d%H%M%S')
|
||||||
|
mv ~/.gitconfig ~/.gitconfig-$(date '+%Y%m%d%H%M%S')
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
You'll want to make sure a couple of files exist to help extend this config with your own regardless if you use them:
|
||||||
|
|
||||||
|
```
|
||||||
|
touch ~/.gitconfig_other
|
||||||
|
touch ~/.other_aliases
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
Then install symlinks in their place:
|
Then install symlinks in their place:
|
||||||
```
|
```
|
||||||
git clone git@github.com:krislamo/dotfiles.git && \
|
git clone git@github.com:krislamo/dotfiles.git && \
|
||||||
cd dotfiles && \
|
cd dotfiles && \
|
||||||
ln -nsf $(pwd)/.bash_aliases ~/.bash_aliases && \
|
ln -nsf $(pwd)/.bash_aliases ~/.bash_aliases && \
|
||||||
ln -nsf $(pwd)/.bashrc ~/.bashrc && \
|
ln -nsf $(pwd)/.bashrc ~/.bashrc && \
|
||||||
ln -nsf $(pwd)/.vimrc ~/.vimrc
|
ln -nsf $(pwd)/.vimrc ~/.vimrc && \
|
||||||
|
ln -nsf $(pwd)/.gitconfig ~/.gitconfig
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Copyrights and Licenses
|
#### Copyrights and Licenses
|
||||||
@ -27,3 +38,4 @@ This program is free software: you can redistribute it and/or modify it under th
|
|||||||
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
|
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user