diff options
| author | seth <[email protected]> | 2022-08-31 08:41:28 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2022-08-31 12:31:43 -0400 |
| commit | 59b844443f5a5c867a98f8b89dce5b9c6ce3783f (patch) | |
| tree | 8df50f0cfdb0f55ae0d323f471b67372847e6321 /.bashrc | |
| parent | bc8c2e6747757306a1b2aba531f7577f51d28650 (diff) | |
yep
Diffstat (limited to '.bashrc')
| -rw-r--r-- | .bashrc | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -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 |
