diff --git a/.bashrc b/.bashrc index 61c8421..d3cfe8a 100755 --- a/.bashrc +++ b/.bashrc @@ -1,3 +1,10 @@ +if [[ $- == *i* ]]; then # in interactive session + # ble.sh + # https://github.com/akinomyoga/ble.sh#13-set-up-bashrc + BLE="${HOME}/programs/ble.sh/out/ble.sh" + [[ -f ${BLE} ]] && source ${BLE} --noattach +fi + # Navigation alias vim="nvim" alias lg="lazygit" @@ -74,8 +81,13 @@ if [[ -d ${HOME}/bin ]]; then export PATH=$PATH:${HOME}/bin fi + +# Enable atuin +# https://docs.atuin.sh +eval "$(atuin init bash)" + # fzf -eval "$(fzf --bash)" +#eval "$(fzf --bash)" export FZF_DEFAULT_OPTS=" \ --color=bg+:#ccd0da,bg:#eff1f5,spinner:#dc8a78,hl:#d20f39 \ @@ -162,3 +174,7 @@ elif [ "$BASH" != "" ]; then PS1="\n╔ \w\$(prev_status_prompt)\$(git_prompt) -- \$(date '+%y-%m-%dT%H:%M:%S')\n╚ \h\$ " fi +# ble.sh +# https://github.com/akinomyoga/ble.sh#13-set-up-bashrc +[[ ${BLE_VERSION-} ]] && ble-attach +