summaryrefslogtreecommitdiff
path: root/.bashrc
blob: 9df68f7599ce090a09d5bd01aa1be4c036b6d004 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#
# getchoo's bashrc
#


# 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=100
export HISTFILESIZE=1000

# source 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