From 59b844443f5a5c867a98f8b89dce5b9c6ce3783f Mon Sep 17 00:00:00 2001 From: seth Date: Wed, 31 Aug 2022 08:41:28 -0400 Subject: yep --- .bashrc | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to '.bashrc') diff --git a/.bashrc b/.bashrc index 9df68f7..ee4a2bb 100644 --- a/.bashrc +++ b/.bashrc @@ -1,10 +1,16 @@ +#!/usr/bin/env bash # # getchoo's bashrc # - # always source profile -source "$HOME/.bash_profile" +source "${HOME}/.bash_profile" + +# drop into fish +## if [[ $(ps --no-header --pid=$PPID --format=comm) != "fish" && -z ${BASH_EXECUTION_STRING} ]] +## then +## exec fish +## fi # options shopt -s cdspell @@ -14,17 +20,12 @@ shopt -s globstar shopt -s nocaseglob shopt -s no_empty_cmd_completion -export HISTFILE="$XDG_STATE_HOME/bash/history" +export HISTFILE="${XDG_STATE_HOME}/bash/history" export HISTSIZE=100 export HISTFILESIZE=1000 # source aliases -source "$XDG_CONFIG_HOME/shell/aliases" +source "${XDG_CONFIG_HOME}/shell/aliases" # 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