cleanified the config again
This commit is contained in:
parent
8be2e01f1c
commit
33ba7df9ef
1 changed files with 17 additions and 14 deletions
27
.bashrc
27
.bashrc
|
@ -34,11 +34,13 @@ check_root() {
|
|||
}
|
||||
|
||||
# ─< ble.sh -- https://github.com/akinomyoga/ble.sh >─────────────────────────────────────
|
||||
if [[ ! -f $HOME/.local/share/blesh/ble.sh ]]; then
|
||||
p_blesh() {
|
||||
if [[ ! -f $HOME/.local/share/blesh/ble.sh ]]; then
|
||||
bash -norc -c "$(curl -sSL https://git.k4li.de/pika/scripts/raw/branch/main/bash/installs/install-blesh.sh)"
|
||||
else
|
||||
else
|
||||
source "$HOME/.local/share/blesh/ble.sh" --attach=none
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
_sensible.bash_() {
|
||||
# Sensible Bash - An attempt at saner Bash defaults
|
||||
|
@ -205,12 +207,13 @@ p_has() {
|
|||
fi
|
||||
}
|
||||
|
||||
plugins() {
|
||||
# ─< qfc -- https://github.com/pindexis/qfc >─────────────────────────────────────────────
|
||||
# [[ -s "$HOME/.qfc/bin/qfc.sh" ]] && source "$HOME/.qfc/bin/qfc.sh"
|
||||
# p_basher
|
||||
p_has
|
||||
}
|
||||
# plugins() {
|
||||
# ─< qfc -- https://github.com/pindexis/qfc >─────────────────────────────────────────────
|
||||
# [[ -s "$HOME/.qfc/bin/qfc.sh" ]] && source "$HOME/.qfc/bin/qfc.sh"
|
||||
# p_basher
|
||||
# p_has
|
||||
# p_blesh
|
||||
# }
|
||||
|
||||
_color_prompt_() {
|
||||
# set a fancy prompt (non-color, unless we know we "want" color)
|
||||
|
@ -605,8 +608,8 @@ main() {
|
|||
check_root
|
||||
get_packager
|
||||
get_alias
|
||||
plugins
|
||||
tools
|
||||
# plugins
|
||||
# tools
|
||||
# [[ ${BLE_VERSION-} ]] && ble-attach
|
||||
}
|
||||
main
|
||||
[[ ${BLE_VERSION-} ]] && ble-attach
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue