Skip to content

Instantly share code, notes, and snippets.

@greenKour
Created June 1, 2018 08:19
Show Gist options
  • Save greenKour/c119bcfcef06ae399eac722d672db2be to your computer and use it in GitHub Desktop.
Save greenKour/c119bcfcef06ae399eac722d672db2be to your computer and use it in GitHub Desktop.
# .zshrcに以下を記述
function ks() {
local -a arts
arts=(
"ヽ(`Д´#)ノ ムキー!!"
"(#・∀・)ムカッ!!"
"(# ゚Д゚) ムッ!"
"(# ゚Д゚) ムッカー"
"(#゚Д゚) プンスコ!"
"(#゚Д゚)y-~~イライラ"
"(#^ω^)ビキビキ"
"( ゚д゚)、ペッ"
"(゚Д゚)ゴルァ!!"
)
local rnd=$RANDOM
local max=`expr $#arts - 1`
local i=`expr $rnd % $max`
echo $arts[$i]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment