diff --git a/plugins/glassfish/_glassfish b/plugins/glassfish/_glassfish deleted file mode 100644 index 8b1378917..000000000 --- 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 000000000..49ca23299 --- /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