term and xterm split

This commit is contained in:
BlackNet Dev
2020-05-16 01:22:37 +02:00
parent 145a56d4bd
commit 1eaa22bd6b
+5 -2
View File
@@ -1,5 +1,4 @@
if (( $+commands[lsd] )); then if (( $+commands[lsd] )); then
alias ls='lsd --color=auto' alias ls='lsd --color=auto'
else else
@@ -27,8 +26,12 @@ if (( $+commands[apt] )); then
alias update='sudo apt update; sudo apt upgrade -y' alias update='sudo apt update; sudo apt upgrade -y'
fi fi
if [[ '$TERM' != screen* ]]; then if [[ '$TERM' == screen* ]]; then
if (( $+commands[neofetch] )); then if (( $+commands[neofetch] )); then
neofetch neofetch
fi fi
else
if (( $+commands[neofetch] && $+commands[lolcat] )); then
neofetch | lolcat
fi
fi fi