mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-24 01:51:24 +08:00
[split] Move ec2 plugin to oh-my-fish/plugin-ec2
https://github.com/oh-my-fish/plugin-ec2
This commit is contained in:
parent
a6da48b414
commit
78d56bcfd1
|
@ -1,18 +0,0 @@
|
||||||
### 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
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user