diff --git a/plugins/glassfish/_glassfish b/plugins/glassfish/_glassfish deleted file mode 100644 index 8b137891..00000000 --- a/plugins/glassfish/_glassfish +++ /dev/null @@ -1 +0,0 @@ - diff --git a/plugins/glassfish/glassfish.plugin.zsh b/plugins/glassfish/glassfish.plugin.zsh new file mode 100644 index 00000000..49ca2329 --- /dev/null +++ b/plugins/glassfish/glassfish.plugin.zsh @@ -0,0 +1,3 @@ +# if there is a user named 'glassfish' on the system, we'll assume +# that is the user asadmin should be run as +grep -e '^glassfish' /etc/passwd > /dev/null && alias asadmin='sudo -u glassfish asadmin' \ No newline at end of file