Compare commits

..

2 Commits

Author SHA1 Message Date
Xavier Logerais 2140f57862 feat: Ajout support ble.sh installé depuis Nix 2024-06-21 13:23:29 +00:00
Xavier Logerais 167be1c6a1 feat: Ajout support asdf-vm installé depuis Nix 2024-06-21 13:22:52 +00:00
2 changed files with 14 additions and 0 deletions
+5
View File
@@ -9,3 +9,8 @@ if [ -f ~/.asdf/asdf.sh ]; then
source ~/.asdf/completions/asdf.bash
fi
if [ -f "$HOME/.nix-profile/share/asdf-vm/asdf.sh" ]; then
. "$HOME/.nix-profile/share/asdf-vm/asdf.sh"
. "$HOME/.nix-profile/share/bash-completion/completions/asdf.bash"
fi
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
# ble.sh () installed from nix
if (command -v blesh-share &>/dev/null); then
source "$(blesh-share)"/ble.sh --attach=none # does not work currently
# ...
[[ ${BLE_VERSION-} ]] && ble-attach
# source "$(blesh-share)"/ble.sh
fi