Add Readme and interactivity check on bash
This commit is contained in:
parent
914b65a262
commit
d5ab669894
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user