浏览代码

glassfish: add README

Marc Cornellà 5 年之前
父节点
当前提交
59930902e1
共有 2 个文件被更改,包括 9 次插入3 次删除
  1. 9 0
      plugins/glassfish/README.md
  2. 0 3
      plugins/glassfish/glassfish.plugin.zsh

+ 9 - 0
plugins/glassfish/README.md

@@ -0,0 +1,9 @@
+# glassfish
+
+The glassfish plugin adds completion for the `asadmin` utility, a command to manage
+[Oracle GlassFish](https://docs.oracle.com/cd/E18930_01/html/821-2416/giobi.html) servers.
+
+To use it, add `glassfish` to the plugins array in your zshrc file:
+```zsh
+plugins=(... glassfish)
+```

+ 0 - 3
plugins/glassfish/glassfish.plugin.zsh

@@ -1,3 +0,0 @@
-# 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'