Skip to content

Commit

Permalink
editing username
Browse files Browse the repository at this point in the history
  • Loading branch information
atomantic committed Aug 11, 2014
1 parent 5ee2459 commit 5ddbd4d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ rbenv() {
}

# run fortune on new terminal :)
fortune
fortune
18 changes: 11 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,28 @@ Most of these scripts are based on or ported from [Matthew Mccullough's dotfiles
## Acquiring This Repo
This project contains submodules. It is suggested that you clone this into your home directory.

Note: I recommend forking this repo :)
```bash
git clone --recurse-submodules https://github.com/atomantic/dotfiles ~/.dotfiles
```


## Setup
There is a set up script that establishes the symlinks in your home directory. Run this once.

* For ZShell
```bash
./_setupdotfiles.zsh
Before you setup, edit .gitconfig and change my name to yours:
```
[user]
name = Adam Eivy
email = [email protected]
```

### Sensible OS X defaults
You will also want to remove `source ~/Dropbox/Private/Boxes/osx/.shellaliases` from .profile

When setting up a new Mac, you may want to set some sensible OS X defaults:
There is a set up script that establishes the symlinks in your home directory. Run this once.

* For ZShell
```bash
./.osx
./_setupdotfiles.zsh
```

## Contributions
Expand Down
4 changes: 4 additions & 0 deletions _setupdotfiles.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ function symlinkifne {
echo "This script must be run from the dotfiles directory"
echo "Setting up..."

echo "formatting the configs for this user"

sed -i '' 's/eivya001/'$(whoami)'/g' .zshrc;

#export DOTFILESDIRRELATIVETOHOME=$PWD
export DOTFILESDIRRELATIVETOHOME=.dotfiles
echo "DOTFILESDIRRELATIVETOHOME = $DOTFILESDIRRELATIVETOHOME"
Expand Down

0 comments on commit 5ddbd4d

Please sign in to comment.