i like your comment about adding a prompt... what do you think about something like this *untested*

``` bash
remove() {
	if [[ -z $1 ]]; then
		echo '> must specify a plugin to uninstall' >&2
		return 1
	fi

	local yes=false
	while getopts y option; do
		case "$option" in
			y) yes=true;;
			*) return 1;;
		esac
	done
	shift "$((OPTIND - 1))"

	local ans=n
	if ! $yes; then
		read -p '> continue? [y/N]: ' ans
		[[ $ans == y ]] || return 1
	fi

	rm -r "$@"
}
```

This way, you can call it like this

    basher remove plugin1 plugin2 ...

and it'll prompt you before deleting them, and you can also skip the prompt like

    basher remove -y plugin1 plugin2 ...