Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
0f320831
Commit
0f320831
authored
Aug 03, 2012
by
fred-o
Committed by
Phil Eichinger
Mar 25, 2014
Browse files
in hindsight, this is probably a bad idea
parent
ee3a20a3
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/glassfish/glassfish.plugin.zsh
View file @
0f320831
# if there is a user named 'glassfish' on the system, we'll assume
# if there is a user named 'glassfish' on the system, we'll assume
# that is the user asadmin should be run as
# that is the user asadmin should be run as
grep
-e
'^glassfish'
/etc/passwd
>
/dev/null
&&
alias
asadmin
=
'sudo -u glassfish asadmin'
# grep -e '^glassfish' /etc/passwd > /dev/null && alias asadmin='sudo -u glassfish asadmin'
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment