From c3362aefa2e762211409923cfff065541bebf9e7 Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Sun, 22 May 2022 00:37:40 +0530 Subject: ble.sh & z4h addition --- .bashrc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '.bashrc') diff --git a/.bashrc b/.bashrc index 26bd8f2..32047dd 100644 --- a/.bashrc +++ b/.bashrc @@ -12,6 +12,9 @@ #neofetch small +#ble.sh bash w vi-mode and auto-completion +[[ $- == *i* ]] && source $HOME/.local/src/blesh/ble.sh --noattach + alias ls='ls --color=auto' #PS1='[\u@\h \W]\$ ' @@ -27,7 +30,7 @@ export PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 3)\]\u\[$(tput se shopt -s autocd #vi mode in bash (uncomment after expertise) -#set -o vi +set -o vi #Ctrl+D EOF Signal will work on billionth press #export IGNOREEOF=1000000000 @@ -53,3 +56,6 @@ HISTCONTROL=ignoredups [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc" #partially supported XDG Base Directory [ -f "$HOME/.config/env" ] && source "$HOME/.config/env" + +[[ ${BLE_VERSION-} ]] && ble-attach + -- cgit v1.2.3