From 1eaa22bd6b0b8b24c35af40e05ceb0cf3eaf0b3b Mon Sep 17 00:00:00 2001 From: BlackNet Dev Date: Sat, 16 May 2020 01:22:37 +0200 Subject: [PATCH] term and xterm split --- rainbow-alias.plugin.zsh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rainbow-alias.plugin.zsh b/rainbow-alias.plugin.zsh index 7275dc2..25304fd 100644 --- a/rainbow-alias.plugin.zsh +++ b/rainbow-alias.plugin.zsh @@ -1,5 +1,4 @@ - if (( $+commands[lsd] )); then alias ls='lsd --color=auto' else @@ -27,8 +26,12 @@ if (( $+commands[apt] )); then alias update='sudo apt update; sudo apt upgrade -y' fi -if [[ '$TERM' != screen* ]]; then +if [[ '$TERM' == screen* ]]; then if (( $+commands[neofetch] )); then neofetch fi +else + if (( $+commands[neofetch] && $+commands[lolcat] )); then + neofetch | lolcat + fi fi \ No newline at end of file