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
8f0c617f
Commit
8f0c617f
authored
Aug 03, 2012
by
fred-o
Browse files
in hindsight, this is probably a bad idea
parent
a4e6a2ce
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/glassfish/glassfish.plugin.zsh
View file @
8f0c617f
# 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