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