sunhat/dotfiles/bashrc

26 lines
702 B
Bash
Raw Normal View History

2024-05-25 15:52:00 -05:00
# History control
shopt -s histappend
HISTCONTROL=ignoreboth
2024-05-25 22:39:55 -05:00
HISTSIZE=32768
HISTFILESIZE="${HISTSIZE}"
2024-05-25 15:52:00 -05:00
# Autocompletion
2024-05-25 22:37:37 -05:00
source /usr/share/bash-completion/bash_completion
2024-05-25 15:52:00 -05:00
2024-05-25 21:28:20 -05:00
# Set complete path
export PATH="./bin:$HOME/.rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
2024-05-25 15:52:00 -05:00
set +h
# Load configuration first from omabox, then local overwrites
for file in ~/.{prompt,exports,aliases}; do
[ -r "$file" ] && [ -f "$file" ] && source "$file"
[ -r "$file.local" ] && [ -f "$file.local" ] && source "$file.local"
done
unset file
# Run iniitializers
eval "$(rbenv init - bash)"
eval "$(nodenv init -)"
eval "$(zoxide init bash)"
2024-05-25 22:37:37 -05:00
eval "$(zellij setup --generate-auto-start bash)"