2024-03-12 22:14:38 -04:00
|
|
|
#
|
|
|
|
# ~/.bashrc
|
|
|
|
#
|
|
|
|
|
|
|
|
# If not running interactively, don't do anything
|
|
|
|
[[ $- != *i* ]] && return
|
|
|
|
|
2024-03-14 21:25:23 -04:00
|
|
|
# Source global definitions
|
|
|
|
test -r /etc/bashrc && . /etc/bashrc
|
2024-03-12 22:14:38 -04:00
|
|
|
|
2024-03-14 21:25:23 -04:00
|
|
|
test -r ~/.shell-env && . ~/.shell-env
|
|
|
|
test -r ~/.shell-aliases && . ~/.shell-aliases
|
|
|
|
test -r ~/.shell-common && . ~/.shell-common
|
2024-03-12 22:14:38 -04:00
|
|
|
|
2024-03-14 21:25:23 -04:00
|
|
|
PS1='[\u@\h \W]\$ '
|
2024-03-12 22:14:38 -04:00
|
|
|
|
2024-03-14 21:25:23 -04:00
|
|
|
test -r ~/.bashrc.local && . ~/.bashrc.local
|
2024-03-12 22:14:38 -04:00
|
|
|
|
2024-03-14 21:25:23 -04:00
|
|
|
if command -v fzf-share >/dev/null; then
|
|
|
|
source "$(fzf-share)/key-bindings.bash"
|
|
|
|
source "$(fzf-share)/completion.bash"
|
2024-03-12 22:14:38 -04:00
|
|
|
fi
|
|
|
|
|
2024-03-14 21:25:23 -04:00
|
|
|
## Load External Components
|
|
|
|
|
|
|
|
eval "$(direnv hook bash)"
|
|
|
|
eval "$(starship init bash)"
|
2024-03-12 22:14:38 -04:00
|
|
|
source ~/.local/share/blesh/ble.sh
|
|
|
|
eval "$(atuin init bash)"
|
2024-03-14 21:25:23 -04:00
|
|
|
#eval "$(keychain --eval --quiet --eval --systemd id_ed25519 id_rsa)"
|
|
|
|
|