summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2022-05-22 00:37:40 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2022-05-22 00:37:40 +0530
commitc3362aefa2e762211409923cfff065541bebf9e7 (patch)
treee48e225190fc0bb1a2db18ae2510a89a6f0d8653 /.bashrc
parent4df17a688ba54d710a1d46ee47cb65b5c9e75764 (diff)
ble.sh & z4h addition
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc8
1 files changed, 7 insertions, 1 deletions
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
+