diff --git a/.bashrc b/.bashrc index 21e262f..a1088b6 100644 --- a/.bashrc +++ b/.bashrc @@ -151,12 +151,20 @@ plugins() { has $pkgs } fi - # ─< ble.sh -- https://github.com/akinomyoga/ble.sh >───────────────────────────────────── - [[ -f $HOME/.local/share/blesh/ble.sh ]] && . $HOME/.local/share/blesh/ble.sh - [[ ${BLE_VERSION-} ]] && ble-attach - - # ─< qfc -- https://github.com/pindexis/qfc >───────────────────────────────────────────── - [[ -s "$HOME/.qfc/bin/qfc.sh" ]] && source "$HOME/.qfc/bin/qfc.sh" + # # ─< ble.sh -- https://github.com/akinomyoga/ble.sh >───────────────────────────────────── + # [[ -f $HOME/.local/share/blesh/ble.sh ]] && . $HOME/.local/share/blesh/ble.sh + # [[ ${BLE_VERSION-} ]] && ble-attach + # + # # ─< qfc -- https://github.com/pindexis/qfc >───────────────────────────────────────────── + # [[ -s "$HOME/.qfc/bin/qfc.sh" ]] && source "$HOME/.qfc/bin/qfc.sh" + _basher() { + if [[ ! -d $HOME/.basher/ ]]; then + git clone --depth=1 https://github.com/basherpm/basher.git ~/.basher + else + export PATH="$HOME/.basher/bin:$PATH" + eval "$(basher init - bash)" && silentexec $(cd $HOME/.basher/ && git pull) + fi + } } _color_prompt_() {