Skip to content

Commit

Permalink
Merge branch 'master' of github.com:briancain/starter-dotfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
briancain committed Feb 1, 2015
2 parents 3f118ea + c6911a1 commit a338a46
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions install.bash
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,10 @@ function setup_git() {
# Adds a symbolic link to files in ~/.dotfiles
# to your home directory.
function symlink_files() {
ignoredfiles=(LICENSE README.md install.bash update-zsh.sh)

for f in $(ls -d *); do
if [[ $f =~ 'LICENSE' ]]; then
echo "Skipping $f ..."
elif [[ $f =~ 'README.md' ]]; then
echo "Skipping $f ..."
elif [[ $f =~ 'install.bash' ]]; then
echo "Skipping $f ..."
elif [[ $f =~ 'update-zsh.sh' ]]; then
if [[ ${ignoredfiles[@]} =~ $f ]]; then
echo "Skipping $f ..."
elif [[ $f =~ 'bashrc' ]]; then
if [[ $LOGIN_SHELL == 'bash' ]] ; then
Expand Down

0 comments on commit a338a46

Please sign in to comment.