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