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

if [[ $(gconftool-2 --get /apps/bashstyle/colored_ls) == true ]]; then \
	alias ls="ls -CF --color=auto --group-directories-first"
else	alias ls="ls -CF --color=no --group-directories-first"
fi

alias ll="ls -l --group-directories-first"
alias la="ls -A --group-directories-first"

if [[ $(gconftool-2 --get /apps/bashstyle/alias1) != "" ]]; then \
	alias "$(gconftool-2 --get /apps/bashstyle/alias1)"
fi

if [[ $(gconftool-2 --get /apps/bashstyle/alias2) != "" ]]; then \
	alias "$(gconftool-2 --get /apps/bashstyle/alias2)"
fi

if [[ $(gconftool-2 --get /apps/bashstyle/alias3) != "" ]]; then \
	alias "$(gconftool-2 --get /apps/bashstyle/alias3)"
fi

if [[ $(gconftool-2 --get /apps/bashstyle/alias4) != "" ]]; then \
	alias "$(gconftool-2 --get /apps/bashstyle/alias4)"
fi

if [[ $(gconftool-2 --get /apps/bashstyle/alias5) != "" ]]; then \
	alias "$(gconftool-2 --get /apps/bashstyle/alias5)"
fi

if [[ $(gconftool-2 --get /apps/bashstyle/alias6) != "" ]]; then \
	alias "$(gconftool-2 --get /apps/bashstyle/alias6)"
fi

if [[ $(gconftool-2 --get /apps/bashstyle/alias7) != "" ]]; then \
	alias "$(gconftool-2 --get /apps/bashstyle/alias7)"
fi
