From d2c277f683f9d1cbe5e8bb775f8e4489fa747e5b Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 17 Jul 2022 01:49:54 -0400 Subject: more xdg! --- .bashrc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to '.bashrc') diff --git a/.bashrc b/.bashrc index 3ef6cf2..6d28704 100644 --- a/.bashrc +++ b/.bashrc @@ -6,7 +6,17 @@ # always source profile source "$HOME/.bash_profile" +# options +shopt -s cdspell +shopt -s checkwinsize +shopt -s cmdhist +shopt -s globstar +shopt -s nocaseglob +shopt -s no_empty_cmd_completion + export HISTFILE="$XDG_STATE_HOME/bash/history" +export HISTSIZE=20 +export HISTFILESIZE=500 # aliases alias ls='exa' @@ -14,3 +24,8 @@ alias dotfiles='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' # prompt PS1='[\u@\h \W]\$ ' + +#if [[ $(ps --no-header --pid=$PPID --format=comm) != "fish" && -z ${BASH_EXECUTION_STRING} ]] +#then +# exec fish +#fi -- cgit v1.2.3