#!/usr/bin/env bash . "$GVM_ROOT/scripts/functions" [[ $1 != "" ]] || display_fatal "Please specifiy the name" [[ -f $GVM_ROOT/environments/$1 ]] || display_fatal "Alias doesn't exist!" $GREP_PATH "gvm_alias_name" "$GVM_ROOT/environments/$1" > /dev/null || display_fatal "$1 is not an alias!" rm -rf "$GVM_ROOT/environments/$1" || display_fatal "Could not delete alias" rm -rf "$GVM_ROOT/gos/$1" || display_fatal "Could not delete alias"