Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maxg203/dotfiles
Dotfiles complete restart!
https://github.com/maxg203/dotfiles
dotfiles
Last synced: about 1 month ago
JSON representation
Dotfiles complete restart!
- Host: GitHub
- URL: https://github.com/maxg203/dotfiles
- Owner: maxg203
- Created: 2017-04-04T00:51:20.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-08-09T20:43:53.000Z (3 months ago)
- Last Synced: 2024-08-09T21:53:33.683Z (3 months ago)
- Topics: dotfiles
- Language: Shell
- Homepage:
- Size: 1.9 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This repository uses [Nicola Paolucci's approach](https://developer.atlassian.com/blog/2016/02/best-way-to-store-dotfiles-git-bare-repo/) to managing dotfiles. The important information is repeated here.
## Starting from scratch
``` shell
git init --bare $HOME/.cfg
alias conf='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
conf config --local status.showUntrackedFiles no
echo "alias conf='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'" >> $HOME/.bashrc```
Now manage your dotfiles just like any other repository except that you should now use the `conf` alias instead of `git`.## Install these dotfiles on another system
**Warning:** This will replace existing dotfiles if you already have any installed locally. Because mine are better. :+1:
``` shell
curl -o- https://raw.githubusercontent.com/maxg203/dotfiles/master/install.sh | sh
```Optional: Install default apps
``` shell
xargs -n 1 arch -arm64 brew install < .provision/work_apps.txt
``````## Usage
Use the `conf` alias in place of `git` (i.e. `conf status` would be equivilant to `git status` within a normal git repo). You can do this in any directory to manage your dotfiles.## Update
Once installed, use `conf update` (which should now be available on your path) to pull the latest changes from this repository, source the dotfiles and check that all the vim has all its plugins installed.## My Terminals
I personally use the Ubuntu 18.04 (Bionic) default GNOME Terminal on Linux and iTerm2 on macOS Mojave. These dotfiles work great especially with these in my opinion. I do not use Windows for development very often so if you do... good luck!