<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xyk</author_name>
  <author_url>https://blog.hatena.ne.jp/xyk/</author_url>
  <blog_title>xykの日記</blog_title>
  <blog_url>https://xyk.hatenadiary.org/</blog_url>
  <categories>
    <anon>MySQL</anon>
  </categories>
  <description>readlineマクロを使うことでコマンド入力を楽に行う方法を知ったのでやってみた。 事前によく使うmysqlコマンドを .inputrc を作成して以下のように記述する。 ~/.inputrc $if mysql &quot;\C-xd&quot;: &quot;show databases;&quot; &quot;\C-xt&quot;: &quot;show tables;&quot; &quot;\C-xs&quot;: &quot;select * from &quot; $endif Ctrl+x 押したあとにそれぞれのキーを押すことで登録しておいたコマンドをペーストできる。 .inputrc の記述で : の前にスペース入れていたら動かずちょっとハマった＾＾； 参考： mysqlでいちいちsho…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxyk.hatenadiary.org%2Fentry%2F20120116%2F1326677281&quot; title=&quot;mysqlコマンドの入力を楽に行う方法 - xykの日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-01-16 10:28:01</published>
  <title>mysqlコマンドの入力を楽に行う方法</title>
  <type>rich</type>
  <url>https://xyk.hatenadiary.org/entry/20120116/1326677281</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
