fix blesh and atuin

This commit is contained in:
2024-04-21 22:51:42 +02:00
parent 846559bc03
commit 28c5483779
2 changed files with 13 additions and 1 deletions

View File

@@ -1,9 +1,18 @@
#
# ~/.bashrc
#
# for interactive non login shells
[[ $- != *i* ]] && return
# Add this lines at the top of .bashrc:
[[ $- == *i* ]] && source /usr/share/blesh/ble.sh --noattach
if [[ $- == *i* ]]; then # in interactive session
# vim mode
set -o vi
fi
colors() {
local fgc bgc vals seq0
@@ -140,3 +149,5 @@ fi
src_files "$HOME/.profile.d" "$HOME/.bashrc.d"
[[ ${BLE_VERSION-} ]] && ble-attach