From: Andreas Gerler Date: Wed, 13 Jan 2016 17:12:52 +0000 (+0100) Subject: fixing yasnippets. X-Git-Url: http://git.bundesbrandschatzamt.de/?a=commitdiff_plain;h=826ab19be22d6a14552f1ee326f279bd2575d1e0;p=emacsconfig.git fixing yasnippets. --- diff --git a/snippets/eshell-mode/aws-ec2-get-console-output b/snippets/eshell-mode/aws-ec2-get-console-output index 50b2e5b1..ac12128b 100644 --- a/snippets/eshell-mode/aws-ec2-get-console-output +++ b/snippets/eshell-mode/aws-ec2-get-console-output @@ -2,4 +2,4 @@ # name: aws-ec2-get-console-output # key: aws-ec2-get-console-output # -- -aws --profile=${1:$$(yas-choose-value '("prod" "test"))} ${2:--region=${3:$$(yas-choose-value bba-aws-regions)}} ec2 get-console-output --instance-id ${2:`(yank)`} $0 \ No newline at end of file +aws --profile=${1:$$(yas-choose-value '("prod" "test"))} ${2:--region=${3:$$(yas-choose-value bba-aws-regions)}} ec2 get-console-output --instance-id ${4:`(yank)`} $0 \ No newline at end of file diff --git a/snippets/eshell-mode/aws-ec2-get-instances b/snippets/eshell-mode/aws-ec2-get-instances index a14aa123..dc671170 100644 --- a/snippets/eshell-mode/aws-ec2-get-instances +++ b/snippets/eshell-mode/aws-ec2-get-instances @@ -2,4 +2,4 @@ # name: aws-ec2-get-instances # key: aws-ec2-get-instances # -- -aws --profile=${1:$$(yas-choose-value '("prod" "test"))} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" bba-aws-regions)}} ec2 describe-instances --query 'Reservations[].Instances[].[join(\`,\`,Tags[?Key==\`Name\`].Value),join(\`,\`,Tags[?Key==\`Schedule\`].Value),InstanceId, State.Name, PublicDnsName, InstanceType,Placement.AvailabilityZone]' --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 +aws --profile=${1:$$(yas-choose-value '("prod" "test"))} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" bba-aws-regions)}} ec2 describe-instances --query 'Reservations[].Instances[].[join(\`,\`,Tags[?Key==\`Name\`].Value),join(\`,\`,Tags[?Key==\`Schedule\`].Value),InstanceId, State.Name, PublicDnsName, InstanceType,Placement.AvailabilityZone,LaunchTime]' --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0