summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
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