(deffaceepe-pipeline-delimiter-face'((t:foreground"green"))"Face for pipeline theme delimiter.":group'epe)(deffaceepe-pipeline-user-face'((t:foreground"red"))"Face for user in pipeline theme.":group'epe)(deffaceepe-pipeline-host-face'((t:foreground"blue"))"Face for host in pipeline theme.":group'epe)(deffaceepe-pipeline-time-face'((t:foreground"yellow"))"Face for time in pipeline theme.":group'epe)
(defunepe-theme-pipeline()"A eshell-prompt theme with full path, smiliar to oh-my-zsh theme."(setqeshell-prompt-regexp"^[^#\nλ]* λ[#]* ")(concat(if(epe-remote-p)(progn(concat(epe-colorize-with-face"┌─["'epe-pipeline-delimiter-face)(epe-colorize-with-face(epe-remote-user)'epe-pipeline-user-face)(epe-colorize-with-face"@"'epe-pipeline-delimiter-face)(epe-colorize-with-face(epe-remote-host)'epe-pipeline-host-face)))(progn(concat(epe-colorize-with-face"┌─["'epe-pipeline-delimiter-face)(epe-colorize-with-face(user-login-name)'epe-pipeline-user-face)(epe-colorize-with-face"@"'epe-pipeline-delimiter-face)(epe-colorize-with-face(system-name)'epe-pipeline-host-face))))(concat(epe-colorize-with-face"]──["'epe-pipeline-delimiter-face)(epe-colorize-with-face(format-time-string"%H:%M"(current-time))'epe-pipeline-time-face)(epe-colorize-with-face"]──["'epe-pipeline-delimiter-face)(epe-colorize-with-face(concat(eshell/pwd))'epe-dir-face)(epe-colorize-with-face"]\n"'epe-pipeline-delimiter-face)(epe-colorize-with-face"└─>"'epe-pipeline-delimiter-face))(whenepe-show-python-info(when(fboundp'epe-venv-p)(when(and(epe-venv-p)venv-current-name)(epe-colorize-with-face(concat"("venv-current-name") ")'epe-venv-face))))(when(epe-git-p)(concat(epe-colorize-with-face":"'epe-dir-face)(epe-colorize-with-face(concat(epe-git-branch)(epe-git-dirty)(epe-git-untracked)(let((unpushed(epe-git-unpushed-number)))(unless(=unpushed0)(concat":"(number-to-stringunpushed)))))'epe-git-face)))(epe-colorize-with-face" λ"'epe-symbol-face)(epe-colorize-with-face(if(=(user-uid)0)"#""")'epe-sudo-symbol-face)" "))