Skip to content

Instantly share code, notes, and snippets.

@hiroshiro
Created February 16, 2014 08:15
Show Gist options
  • Save hiroshiro/9031040 to your computer and use it in GitHub Desktop.
Save hiroshiro/9031040 to your computer and use it in GitHub Desktop.
曜日の違いによってプロンプトに顔文字を表示する。.zshrc.customファイルの一部。
#
# Face 曜日によって顔を変える。
#
day=`date +%u`
case $day in
1 ) FACE="月꒰⌯͒•ɷ•⌯͒꒱ $";;
2 ) FACE="火٩꒰ʘʚʘ๑꒱۶ $";;
3 ) FACE="水( •̀ω•́ )σ $";;
4 ) FACE="木(ΘεΘ;) $";;
5 ) FACE="金ʕ•ӫ̫͡•ʔ $";;
6 ) FACE="土- =͟͟͞͞ (¦3[▓▓]) $";;
7 ) FACE="日꒰✘Д✘◍꒱ $";;
* ) ;;
esac
@hiroshiro
Copy link
Author

曜日の違いによってプロンプトに顔文字を表示する。.zshrc.customファイルの一部。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment