addet blesh for real
This commit is contained in:
parent
6c005c3829
commit
d65c839123
1 changed files with 1 additions and 6 deletions
7
.bashrc
7
.bashrc
|
@ -33,14 +33,9 @@ check_root() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
i_blesh() {
|
|
||||||
install_pkg gawk make &&
|
|
||||||
git clone --recursive --depth 1 --shallow-submodules https://github.com/akinomyoga/ble.sh.git /tmp/blesh &&
|
|
||||||
$(cd /tmp/ && make -C ble.sh install PREFIX=~/.local)
|
|
||||||
}
|
|
||||||
# ─< ble.sh -- https://github.com/akinomyoga/ble.sh >─────────────────────────────────────
|
# ─< ble.sh -- https://github.com/akinomyoga/ble.sh >─────────────────────────────────────
|
||||||
if [[ ! -f $HOME/.local/share/blesh/ble.sh ]]; then
|
if [[ ! -f $HOME/.local/share/blesh/ble.sh ]]; then
|
||||||
i_blesh
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue