mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-07-30 03:15:21 +08:00
3 lines
200 B
Bash
3 lines
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' |