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

for alias in "$@"; do
	[[ $(grep -w "alias $alias" $HOME/.bashstyle.custom) != "" ]] &&
		{ sed -e "/alias $alias/d" -i $HOME/.bashstyle.custom ; }

	[[ $(alias | grep -w $alias=) != "" ]] &&
		{ unalias $alias ; }
done
