-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved README, and
-local
files for local shell settings
- Loading branch information
1 parent
f2bdf7f
commit bc4d166
Showing
3 changed files
with
44 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,41 @@ | ||
TODO: write a proper README. | ||
My own "dotfiles", or configuration files. | ||
|
||
## Quick setup | ||
|
||
Upon getting to a new machine, I repeat these steps: | ||
|
||
```bash | ||
mkdir ~/dotfiles | ||
cd ~/dotfiles | ||
|
||
# Do I want to have push/write access to update the dotfiles? | ||
git clone [email protected]:denilsonsa/dotfiles.git | ||
# Do I want a read-only copy of the dotfiles? | ||
git clone https://github.com/denilsonsa/dotfiles.git | ||
|
||
./install | ||
``` | ||
|
||
It is desirable to set SSH before setting up the dotfiles. SSH is required when cloning the repository with read/write support. Due to the sensitive nature and due to the strict permissions required on `~/.ssh/`, there is no SSH configuration stored in this repository. | ||
|
||
### Hard-coded paths | ||
|
||
There are a few hard-coded paths in `.gitconfig`: | ||
|
||
* `~/dotfiles/`, and that's why this repository should be cloned there. | ||
* `~/myrepos/`, which should contain clones of any other personal repository. | ||
|
||
## Local customization outside dotfiles | ||
|
||
There are some configurations that should not be stored in dotfiles. Thus, the following files are sourced as well: | ||
|
||
* `~/.bash-local` for bash. | ||
* `~/.zsh-local` for zsh. | ||
* `~/.profile-local` for both bash and zsh. | ||
* `~/.gitconfig-local` for git. | ||
* `~/.vim/vimrc-local` for vim, should be based on the example in this repository. | ||
|
||
## See also | ||
|
||
* https://dotfiles.github.io/ | ||
* http://www.anishathalye.com/2014/08/03/managing-your-dotfiles/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters