dotfiles/README.md

42 lines
1.4 KiB
Markdown
Raw Normal View History

2019-09-27 15:25:34 +00:00
## krislamo's dotfiles
2019-09-27 15:19:27 +00:00
2019-10-17 03:36:10 +00:00
### Installation
You may want to backup your current dotfiles:
```
mv ~/.bash_aliases ~/.bash_aliases-$(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 ~/.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:
2019-10-17 03:36:10 +00:00
```
git clone git@github.com:krislamo/dotfiles.git && \
cd dotfiles && \
ln -nsf $(pwd)/.bash_aliases ~/.bash_aliases && \
ln -nsf $(pwd)/.bashrc ~/.bashrc && \
ln -nsf $(pwd)/.vimrc ~/.vimrc && \
ln -nsf $(pwd)/.gitconfig ~/.gitconfig
2019-10-17 03:36:10 +00:00
```
2019-09-27 15:19:27 +00:00
#### Copyrights and Licenses
Copyright (C) 2019 Kris Lamoureux
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License.
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/>.