Skip to content
Snippets Groups Projects
Commit 78d56bcf authored by Justin Hileman's avatar Justin Hileman
Browse files

[split] Move ec2 plugin to oh-my-fish/plugin-ec2

https://github.com/oh-my-fish/plugin-ec2
parent a6da48b4
Branches
No related merge requests found
### Main program
if test -d (/usr/libexec/java_home)
set -gx JAVA_HOME (/usr/libexec/java_home)
end
if test (/bin/ls $HOME/.ec2/pk-*.pem | /usr/bin/head -1)
set -gx EC2_PRIVATE_KEY (/bin/ls $HOME/.ec2/pk-*.pem | /usr/bin/head -1)
end
if test (/bin/ls $HOME/.ec2/cert-*.pem | /usr/bin/head -1)
set -gx EC2_CERT (/bin/ls $HOME/.ec2/cert-*.pem | /usr/bin/head -1)
end
if test -d /usr/local/Library/LinkedKegs/ec2-api-tools/jars
set -gx EC2_HOME /usr/local/Library/LinkedKegs/ec2-api-tools/jars
end
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment