addet basher

This commit is contained in:
pika 2024-08-19 17:24:55 +02:00
parent 73a61f62d0
commit a9909ac4f1

20
.bashrc
View file

@ -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_() {