From 22c42172b2af3be0ceb34fa785b9bbdf31b54553 Mon Sep 17 00:00:00 2001 From: Josh Lay Date: Wed, 19 Jun 2024 07:14:59 -0500 Subject: [PATCH] bashrc: init --- outerheaven.init3.home/.bashrc | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 outerheaven.init3.home/.bashrc diff --git a/outerheaven.init3.home/.bashrc b/outerheaven.init3.home/.bashrc new file mode 100644 index 0000000..50e7034 --- /dev/null +++ b/outerheaven.init3.home/.bashrc @@ -0,0 +1,21 @@ +# shellcheck shell=bash source=/dev/null +# Source global definitions +[ -f /etc/bashrc ] && . /etc/bashrc + +# Update window size after every command +shopt -s checkwinsize + +# User specific aliases, functions, and variables +[ -r ~/.shell_aliases ] && . ~/.shell_aliases +[ -r ~/.poetry_bash_completion ] && . ~/.poetry_bash_completion +export PS1="\[\e[0;34m\]\w \[\e[0;37m\]$ \[\e[0m\]" +#export PS1="\[\e[0;37m\]\u\[\e[0;37m\]:\[\e[0;34m\]\w \[\e[0;37m\]$ \[\e[0m\]" +export HISTTIMEFORMAT='%F %T %Z ' +export HISTCONTROL=ignoredups:erasedups:ignorespace +# Undocumented feature which sets the size to "unlimited". +# http://stackoverflow.com/questions/9457233/unlimited-bash-history +export HISTFILESIZE= +export HISTSIZE= + +[[ ${KITTY_WINDOW_ID} ]] && \ + echo ; fortune -n 180 -s | lolcat --random --24bit ; echo