summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorseth <[email protected]>2022-07-17 01:49:54 -0400
committerseth <[email protected]>2022-08-04 04:41:01 -0400
commitd2c277f683f9d1cbe5e8bb775f8e4489fa747e5b (patch)
tree8ad0dd14089f7d3cefc6c424b920dfd018c785db /.bashrc
parent210adb6461ec9ac8243f39e4efd6f78b041d4a01 (diff)
more xdg!
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc15
1 files changed, 15 insertions, 0 deletions
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