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