Optional loading of neofetch for all shells

This commit is contained in:
John Mertz 2023-10-29 14:39:01 -06:00
parent 35ae886e0d
commit 27b079f1bf
2 changed files with 4 additions and 1 deletions

View File

@ -111,3 +111,7 @@ fi
source "$HOME/.cargo/env" source "$HOME/.cargo/env"
source ~/perl5/perlbrew/etc/bashrc source ~/perl5/perlbrew/etc/bashrc
. "$HOME/.cargo/env" . "$HOME/.cargo/env"
if [[ -n "$(which neofetch 2> /dev/null)" ]]; then
neofetch
fi

View File

@ -3,4 +3,3 @@
export DISTROBOX=$(grep -oP "(?<=name=\")[^\";]+" /run/.containerenv) export DISTROBOX=$(grep -oP "(?<=name=\")[^\";]+" /run/.containerenv)
export SSH_AUTH_SOCK="$HOME/.spool/ssh-agent.sock" export SSH_AUTH_SOCK="$HOME/.spool/ssh-agent.sock"
HISTFILE="${HISTFILE}.$DISTROBOX" HISTFILE="${HISTFILE}.$DISTROBOX"
neofetch