Add Readme and interactivity check on bash

This commit is contained in:
Alexander Hosking 2017-02-26 00:06:32 -05:00
parent 914b65a262
commit d5ab669894
2 changed files with 8 additions and 0 deletions

5
README.md Normal file
View File

@ -0,0 +1,5 @@
# Dotfiles
----------
## Getting Started

View File

@ -1,3 +1,6 @@
# If not running interactively, don't do anything!
[[ $- != *i* ]] && return
for DOTFILE in `find /home/ahosking/.dotfiles` for DOTFILE in `find /home/ahosking/.dotfiles`
do do
[ -f "$DOTFILE" ] && source "$DOTFILE" [ -f "$DOTFILE" ] && source "$DOTFILE"