title: Configure alias with jq and multiple quotes
body: <p>I'm trying to configure an alias that will give me a list of AWS resources and it keeps failing on escaping with single and double quotes.</p>
  <pre><code>aws ec2 describe-instances --filters &quot;Name=tag:tag,Values=foo1&quot; &quot;Name=bar,Values=foo2,foo3&quot; | jq '.Reservations[].Instances[].Tags[] | select(.Key==&quot;Name&quot;) | .Value' | tr -d '&quot;' |  sed -e 's/-pattern1.*//g' | sed -e 's/pattern2.*//g' | uniq
  </code></pre>
  <p>wrapping everything with single/double quotes does not work - <code>alias alias1='aws ec2 describe-instances --filters &quot;Name=tag:tag,Values=foo1&quot; &quot;Name=bar,Values=foo2,foo3&quot; | jq '.Reservations[].Instances[].Tags[] | select(.Key==&quot;Name&quot;) | .Value' | tr -d '&quot;' |  sed -e 's/-pattern1.*//g' | sed -e 's/pattern2.*//g' | uniq' </code></p>
  <p>I'm trying to understand where shall I put the escaping characters</p>