sunhat/dotfiles/bashrc

27 lines
772 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
2024-05-26 22:39:55 -05:00
export PATH="./bin:$HOME/.rbenv/bin:$HOME/.local/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)"
2024-05-25 23:28:10 -05:00
source /usr/share/doc/fzf/examples/key-bindings.bash