summaryrefslogtreecommitdiff
path: root/.bashrc
blob: 9a63c20bdb217ae4ff314c231b939fc3eabf8913 (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
31
#
# 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=200
export HISTFILESIZE=1000

# aliases
alias ls='exa'
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