-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Noah Gorny
committed
Sep 28, 2021
1 parent
3eed0f0
commit 05f0672
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# shellcheck shell=bash | ||
cite about-plugin | ||
about-plugin 'load ble.sh, the Bash line editor!' | ||
|
||
if [[ ${BLE_VERSION-} ]]; then | ||
_log_warning "ble.sh is already loaded!" | ||
return | ||
fi | ||
|
||
ble_path=${XDG_DATA_HOME:-$HOME/.local/share}/blesh/ble.shsdf | ||
if [[ -f $ble_path ]]; then | ||
# shellcheck disable=1090 | ||
source "$ble_path" | ||
else | ||
_log_error "Could not find ble.sh in $ble_path" | ||
_log_error "Please follow installation instructions from https://github.com/akinomyoga/ble.sh" | ||
fi |