Lou's configuration resources, a work in progress
To Do...
- work on brew.sh
-
update Mac OSX
-
Install xcode
-
Install git
git
-
Clone online GitHub directory to local folder via https link
git clone https://github.com/s10wen/dotfiles.git
-
Run bootstrap.sh to sync repo, copy files to /~ bootstrap.sh
source bootstrap.sh
-
Move .extra extra
-
Install homebrew with curl command and link to Homebrew GitHubrepo
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
Prioritize Homebrew path
$ echo 'export PATH="/usr/local/bin:$PATH"' >> ~/.bash_profile
-
Set up homebrew using brew.sh link
bash brew.sh
- set up Rupa Z, Jekyll, and sublime text symlink with install_deps
source lou-osx
or
bash .osx
This file gets run first and performs the following...
- syncs local repo and the one on GitHub
- copies files to home folder, overridding any existing files but excluding thins like.git and README
- doIt function is invoked when overwrite confirmation is given
- sourcing ~/.bash_profile will apply the new bash profile to terminal w/o restart
- updates homebrew and installs usefull utility tools like coreutil, moreutils, findutils...
- updates homebrew (
brew update
) and all formulas (brew upgrade --all
) - installs core utilities including
- coreutils
- moreutils
- findutils
- bash 4
- wget
- ringojs (Multi-threaded JavaScript on the JVM
) * narh 1.
- removes outdated version from the "cellar"
brew cleanup
- loaded at new terminal sessions, sometimes bash.rc is loaded so bash.rc should contain a call for bash_profile
- loads
- .path - speeds up process of running executables removing the need to
cd
between directories 2. not held in public repo - .bash_prompt - customizes Bash prompt appearance and colors
- .exports - sets environmental variabls including
- setting default editor
- increases amount of bash command history retained
- highlight section titles in man pagues and don't clear the screen after quiting
- .aliases - contains aliases () for commonly used commands
- will list better ones here
- .functions - contains shortcuts likes aliases but can take arguments
- .extra
- .path - speeds up process of running executables removing the need to
- configures features including
- autocompletion
- makes sure .bash_profile is called if it is loaded
- exludes DS_Store, macos, bootstrap, README and LICENCE
- initializes z
- contains aliases that apply only to git
- prevents files like DS_Store from accidentally being commited
- small file with configuration that improves the readability for gvim (GUI enabled vim)
- ignore folder for mercurial
- prevents server welcome messages
- configures readline environment which controls the behavior of keys when your entering commands into the shell (eg, make tab autocomplete when regardless of filename case) Emacs like keybindings installed by default
- script for initializing Mac OSX settings
- removes startup message when using
screen
- sets vim configuration like enabling line numbers and adding syntax highlighting
- adds additional settings to wget, a non-interactive GNU package called fro scripts for retrieving files using HTTP, HTTPS and FTP
- installs dependencies including
- rupa/z
- jekyll
- symlinks sublime text
- any images needed upon initializing a new maching
- contains various files for references
-
contains configuration files for engines like karabiner, btt, and slte
-
slate - .slate file to be included in home directory
-
btt.json - BetterTouchTool settings export
-
karabiner.xml
-
- must be moved to home directory
`GIT_AUTHOR_NAME="Simon Owen"
GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME"
git config --global user.name "$GIT_AUTHOR_NAME"
GIT_AUTHOR_EMAIL="[email protected]"
GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL"
git config --global user.email "$GIT_AUTHOR_EMAIL"``