if default config does not exist, create it (nx-rc)

parent 10ad3cd2
......@@ -24,8 +24,8 @@ export BSNG_LOCKFILE=$HOME/.bashstyle.lock
export BSNG_VERSION=@VERSION@
export BSNG_DOCS=@DOCDIR@/bashstyle-ng/index.html
if [[ ! $BSNG_PROFILED ]]; then
. @PROFILEDIR@/bashstyle.sh
if [[ ! -f ${HOME}/.bs-ng.ini ]]; then
cp ${BSNG_DATA_DIR}/bashstyle-ng/bs-ng.ini ${HOME}/.bs-ng.ini
fi
ERR_MSG=""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment