Skip to content

Instantly share code, notes, and snippets.

@XayOn
Created March 19, 2012 12:43
Show Gist options
  • Save XayOn/2110670 to your computer and use it in GitHub Desktop.
Save XayOn/2110670 to your computer and use it in GitHub Desktop.
Airoscript-ng debug
# This file sources all the stuff sourced in airoscript
_source(){ for cfile in $@; do if [ -f $cfile ] && [ -O $cfile ]; then source $cfile; else if [ "$debug" == 1 ]; then echo "Could not load $cfile"; sleep 0.2 ;fi; fi; done; }
_source "./airoscript-ng.conf.devel ~/.airoscript-ng/airoscript-ng.conf /etc/airoscript-ng.conf /usr/local/etc/airoscript-ng.conf"
_source "./airoscript-ng_advanced.conf.devel ~/.airoscript-ng_advanced/airoscript-ng_advanced.conf /etc/airoscript-ng_advanced.conf /usr/local/etc/airoscript-ng_advanced.conf"
_source "$path/_internal $path/menu $path/interface"
_source "$path/themes/$theme" || default_theme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment