summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorseth <[email protected]>2022-08-31 08:41:28 -0400
committerseth <[email protected]>2022-08-31 12:31:43 -0400
commit59b844443f5a5c867a98f8b89dce5b9c6ce3783f (patch)
tree8df50f0cfdb0f55ae0d323f471b67372847e6321 /.bashrc
parentbc8c2e6747757306a1b2aba531f7577f51d28650 (diff)
yep
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc19
1 files changed, 10 insertions, 9 deletions
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