From 4081e18e45a480da1e7301123805b2ead1f42d01 Mon Sep 17 00:00:00 2001 From: tomit4 Date: Thu, 23 Dec 2021 12:03:05 -0800 Subject: [PATCH] added if statement that checks xterm-kitty before intiating neofetch on startup --- bashrc.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bashrc.txt b/bashrc.txt index 623e9fc2..b987938b 100644 --- a/bashrc.txt +++ b/bashrc.txt @@ -1,8 +1,9 @@ # # ~/.bashrc # -neofetch - +if [ $TERM == "xterm-256color" ] ; then + neofetch +fi # create custom env variables: export cproj="/home/brian/scripts" # custom BROWSER env for ddgr: @@ -19,7 +20,6 @@ bind -m vi-insert 'Control-l: clear-screen' cat /dev/null > ~/.bash_history && history -c [[ $- != *i* ]] && return - colors() { local fgc bgc vals seq0