7177412 command not found: _be_name
authorDanek Duvall <danek.duvall@oracle.com>
Fri, 15 Jun 2012 11:15:55 -0700
changeset 871 c1aad6a2f1ff
parent 870 b43099ca1080
child 872 4ce8edeb91bf
7177412 command not found: _be_name
components/zsh/Completion/Solaris/Type/_be_name
components/zsh/Completion/Solaris/Type/_boot_environment
components/zsh/zsh.p5m
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/zsh/Completion/Solaris/Type/_be_name	Fri Jun 15 11:15:55 2012 -0700
@@ -0,0 +1,18 @@
+#autoload
+
+local -a type be_names
+local name uuid activate mtpt space policy created snap
+
+zparseopts -D -E -a type t+:
+
+beadm list -H | while IFS=\; read name uuid active mtpt space policy created; do
+	be_names=( $be_names $name )
+done
+
+if [[ -n $type[(r)all] ]]; then
+	beadm list -sH | while IFS=\; read name snap space policy created; do
+		be_names=( $be_names $snap )
+	done
+fi
+
+compadd "$@" - $be_names
--- a/components/zsh/Completion/Solaris/Type/_boot_environment	Fri Jun 15 04:00:18 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-#autoload
-
-_be_name() {
-	local -a type be_names
-	local name uuid activate mtpt space policy created snap
-
-	zparseopts -D -E -a type t+:
-
-	beadm list -H | while IFS=\; read name uuid active mtpt space policy created; do
-		be_names=( $be_names $name )
-	done
-
-	if [[ -n $type[(r)all] ]]; then
-		beadm list -sH | while IFS=\; read name snap space policy created; do
-			be_names=( $be_names $snap )
-		done
-	fi
-
-	compadd "$@" - $be_names
-}
--- a/components/zsh/zsh.p5m	Fri Jun 15 04:00:18 2012 -0700
+++ b/components/zsh/zsh.p5m	Fri Jun 15 11:15:55 2012 -0700
@@ -485,10 +485,10 @@
     path=usr/share/zsh/$(COMPONENT_VERSION)/functions/Completion/Mandriva/_urpmi
 file path=usr/share/zsh/$(COMPONENT_VERSION)/functions/Completion/Redhat/_rpm
 file path=usr/share/zsh/$(COMPONENT_VERSION)/functions/Completion/Redhat/_yum
+file \
+    path=usr/share/zsh/$(COMPONENT_VERSION)/functions/Completion/Solaris/_be_name
 file path=usr/share/zsh/$(COMPONENT_VERSION)/functions/Completion/Solaris/_beadm
 file \
-    path=usr/share/zsh/$(COMPONENT_VERSION)/functions/Completion/Solaris/_boot_environment
-file \
     path=usr/share/zsh/$(COMPONENT_VERSION)/functions/Completion/Solaris/_coreadm
 file \
     path=usr/share/zsh/$(COMPONENT_VERSION)/functions/Completion/Solaris/_dhcpinfo