]> CyberLeo.Net >> Repos - CDN/bash-config.git/blob - bash-config/common
Current work
[CDN/bash-config.git] / bash-config / common
1 # Set up _base, _self first
2
3 # Interactive shell?
4 _i() { [[ $- == *i* ]]; return $?; }
5
6 # Include all subfiles, in lexicographical order
7 eval $(find "${_base}/${_self}.d/" -type f | sort | sed -e 's/^/source /; s/$/;/')
8
9 unset _base _self _i