diff --git a/bashrc b/bashrc index 505719c..734b0b5 100644 --- a/bashrc +++ b/bashrc @@ -1,10 +1,12 @@ # Custom scripts + + #find ~/.scripts/ ~/.gscripts/ -type f -name "*.sh" | while read script; do #source "$script" #done -source ~/.scripts/index.sh -source ~/.gscripts/index.sh +[ -f ~/.scripts/index.sh ] && source ~/.scripts/index.sh +[ -f ~/.gscripts/index.sh ] && source ~/.gscripts/index.sh # Prompt if [[ $USER == 'root' ]]; then