add: hirakata plugin - hiragana and katakana in prompt + sound

This commit is contained in:
Mawu3n4 2014-06-05 17:31:14 +02:00
parent 3913106b2e
commit 0a35fcd7d5
94 changed files with 104 additions and 0 deletions

View File

@ -0,0 +1,92 @@
あ Hiragana/a.mp3
い Hiragana/i.mp3
う Hiragana/u.mp3
え Hiragana/e.mp3
お Hiragana/o.mp3
か Hiragana/ka.mp3
き Hiragana/ki.mp3
く Hiragana/ku.mp3
け Hiragana/ke.mp3
こ Hiragana/ko.mp3
さ Hiragana/sa.mp3
し Hiragana/shi.mp3
す Hiragana/su.mp3
せ Hiragana/se.mp3
そ Hiragana/so.mp3
た Hiragana/ta.mp3
ち Hiragana/chi.mp3
つ Hiragana/tsu.mp3
て Hiragana/te.mp3
と Hiragana/to.mp3
な Hiragana/na.mp3
に Hiragana/ni.mp3
ぬ Hiragana/nu.mp3
ね Hiragana/ne.mp3
の Hiragana/no.mp3
は Hiragana/ha.mp3
ひ Hiragana/hi.mp3
ふ Hiragana/fu.mp3
へ Hiragana/he.mp3
ほ Hiragana/ho.mp3
ま Hiragana/ma.mp3
み Hiragana/mi.mp3
む Hiragana/mu.mp3
め Hiragana/me.mp3
も Hiragana/mo.mp3
や Hiragana/ya.mp3
ゆ Hiragana/yu.mp3
よ Hiragana/yo.mp3
ら Hiragana/ra.mp3
り Hiragana/ri.mp3
る Hiragana/ru.mp3
れ Hiragana/re.mp3
ろ Hiragana/ro.mp3
わ Hiragana/wa.mp3
を Hiragana/o_2.mp3
ん Hiragana/n.mp3
ア Katakana/a.mp3
イ Katakana/i.mp3
ウ Katakana/u.mp3
エ Katakana/e.mp3
オ Katakana/o.mp3
カ Katakana/ka.mp3
キ Katakana/ki.mp3
ク Katakana/ku.mp3
ケ Katakana/ke.mp3
コ Katakana/ko.mp3
サ Katakana/sa.mp3
シ Katakana/shi.mp3
ス Katakana/su.mp3
セ Katakana/se.mp3
ソ Katakana/so.mp3
タ Katakana/ta.mp3
チ Katakana/chi.mp3
ツ Katakana/tsu.mp3
テ Katakana/te.mp3
ト Katakana/to.mp3
ナ Katakana/na.mp3
ニ Katakana/ni.mp3
ヌ Katakana/nu.mp3
ネ Katakana/ne.mp3
Katakana/no.mp3
ハ Katakana/ha.mp3
ヒ Katakana/hi.mp3
フ Katakana/fu.mp3
ヘ Katakana/he.mp3
ホ Katakana/ho.mp3
マ Katakana/ma.mp3
ミ Katakana/mi.mp3
ム Katakana/mu.mp3
メ Katakana/me.mp3
モ Katakana/mo.mp3
ヤ Katakana/ya.mp3
ユ Katakana/yu.mp3
ヨ Katakana/yo.mp3
ラ Katakana/ra.mp3
リ Katakana/ri.mp3
ル Katakana/ru.mp3
レ Katakana/re.mp3
ロ Katakana/ro.mp3
ワ Katakana/wa.mp3
ヲ Katakana/o_2.mp3
ン Katakana/n.mp3

View File

@ -0,0 +1,12 @@
p="$ZSH/plugins/hirakata/"
f=$(cat $p"files/hk_symbols.txt")
function hirakata() {
random_symbol=$(echo "$f" | shuf -n1)
symbol=$(echo $random_symbol | cut -d ' ' -f1)
sound=$(echo $random_symbol | cut -d ' ' -f2)
( mpg321 $p'sounds/'$sound & ) > /dev/null 2>&1
echo $symbol
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.