fix: Correction activation ble.sh
This commit is contained in:
parent
640df9986c
commit
f651195b22
6
bashrc
6
bashrc
@ -14,6 +14,9 @@ fi
|
|||||||
# Source custom libs
|
# Source custom libs
|
||||||
if [ -d "$HOME"/.bash/libs ]; then for lib in "$HOME"/.bash/libs/*.bash; do source "$lib"; done; fi
|
if [ -d "$HOME"/.bash/libs ]; then for lib in "$HOME"/.bash/libs/*.bash; do source "$lib"; done; fi
|
||||||
|
|
||||||
|
# Early customization
|
||||||
|
if [ -d "$HOME"/.bash/rc.before.d ]; then for file in "$HOME"/.bash/rc.before.d/*; do source "$file"; done; fi
|
||||||
|
|
||||||
# Source rc.d/*
|
# Source rc.d/*
|
||||||
if [ -d "$HOME"/.bash/rc.d ]; then for file in "$HOME"/.bash/rc.d/*; do source "$file"; done; fi
|
if [ -d "$HOME"/.bash/rc.d ]; then for file in "$HOME"/.bash/rc.d/*; do source "$file"; done; fi
|
||||||
|
|
||||||
@ -30,3 +33,6 @@ if [ -f "$HOME"/.bash_completion ]; then source "$HOME"/.bash_completion; fi
|
|||||||
if [ -f "$HOME"/.bash/completion ]; then source "$HOME"/.bash/completion; fi
|
if [ -f "$HOME"/.bash/completion ]; then source "$HOME"/.bash/completion; fi
|
||||||
if [ -d "$HOME"/.bash/completion ]; then for file in "$HOME"/.bash/completion/*; do source "$file"; done; fi
|
if [ -d "$HOME"/.bash/completion ]; then for file in "$HOME"/.bash/completion/*; do source "$file"; done; fi
|
||||||
if [ -d "$HOME"/.bash/completion.d ]; then for file in "$HOME"/.bash/completion.d/*; do source "$file"; done; fi
|
if [ -d "$HOME"/.bash/completion.d ]; then for file in "$HOME"/.bash/completion.d/*; do source "$file"; done; fi
|
||||||
|
|
||||||
|
# Late customization
|
||||||
|
if [ -d "$HOME"/.bash/rc.after.d ]; then for file in "$HOME"/.bash/rc.after.d/*; do source "$file"; done; fi
|
||||||
|
3
rc.after.d/blesh
Normal file
3
rc.after.d/blesh
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
[[ ${BLE_VERSION-} ]] && ble-attach
|
@ -3,7 +3,4 @@
|
|||||||
# ble.sh () installed from nix
|
# ble.sh () installed from nix
|
||||||
if (command -v blesh-share &>/dev/null); then
|
if (command -v blesh-share &>/dev/null); then
|
||||||
source "$(blesh-share)"/ble.sh --attach=none # does not work currently
|
source "$(blesh-share)"/ble.sh --attach=none # does not work currently
|
||||||
# ...
|
|
||||||
[[ ${BLE_VERSION-} ]] && ble-attach
|
|
||||||
# source "$(blesh-share)"/ble.sh
|
|
||||||
fi
|
fi
|
Loading…
Reference in New Issue
Block a user