#!/bin/bash
#########################################################
# 							#
# This is BashStyle-NG 6.9				#
#							#
# Licensed under GNU LESSER GENERAL PUBLIC LICENSE v3	#
#							#
# Copyright 2007 - 2008 Christopher Bratusek		#
#							#
#########################################################

if [[ $(gconftool-2 --get /apps/bashstyle/shopt/cdspell) == true ]]; then \
	shopt -s cdspell
fi

if [[ $(gconftool-2 --get /apps/bashstyle/shopt/cdable_vars) == true ]]; then \
	shopt -s cdable_vars
fi

if [[ $(gconftool-2 --get /apps/bashstyle/shopt/checkhash) == true ]]; then \
	shopt -s checkhash
fi

if [[ $(gconftool-2 --get /apps/bashstyle/shopt/cmdhist) == true ]]; then \
	shopt -s cmdhist
fi

if [[ $(gconftool-2 --get /apps/bashstyle/shopt/force_fignore) == true ]]; then \
	shopt -s force_fignore
fi

if [[ $(gconftool-2 --get /apps/bashstyle/shopt/histreedit) == true ]]; then \
	shopt -s histreedit
fi

if [[ $(gconftool-2 --get /apps/bashstyle/shopt/no_empty_cmd_completion) == true ]]; then \
	shopt -s no_empty_cmd_completion
fi

if [[ $HISTCONTROL != erasedups && $(gconftool-2 --get /apps/bashstyle/shopt/histappend) == true ]]; then
	shopt -s histappend
fi
