Inspired by 杂~鱼♡!一起让GCC编译器变可爱吧!_哔哩哔哩_bilibili,
and referring for eshell-prompt-extra, here comes a eshell-prompt
function using random emoji.
NOTE: this overwrites the eshell-previous-matching-input-from-input
function to make sure eshell could update its prompt when the
prompt is changed.
(use-package emojishell
:load-path "PATH/TO/EMOJISHELL"
:config
(setf eshell-prompt-function emojishell-emoji-prompt))
Custom emojishell-emoji-{normal|error}-face
and
emojishell-{remote|path|git-branch-prompt}-face
to change
the way it looks.
Custom emojishell-{normal|error|remote}-emoji-sets
for
different emoji sets.
Though i do use zsh, but i’m not good with it… Maybe you could refer a fish implementation (at emacs-china).