1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-26 15:50:09 +00:00
ohmyzsh/plugins/glassfish/glassfish.plugin.zsh
2014-03-25 16:47:57 +01:00

3 lines
No EOL
200 B
Bash

# 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'