|
@@ -4,9 +4,14 @@ scriptdirname=$(dirname ${BASH_SOURCE[0]})
|
|
|
|
|
|
|
|
# In ~/.local/share/chezmoi/setup.sh oder ~/.bashrc.d/hermes.sh
|
|
# In ~/.local/share/chezmoi/setup.sh oder ~/.bashrc.d/hermes.sh
|
|
|
if command -v hermes >/dev/null 2>&1; then
|
|
if command -v hermes >/dev/null 2>&1; then
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ eval "$(hermes completion bash)"
|
|
|
# auto_load nur setzen wenn noch nicht vorhanden
|
|
# auto_load nur setzen wenn noch nicht vorhanden
|
|
|
|
|
+ debug "hermes setup takes to long... nothing done!"
|
|
|
|
|
+ return
|
|
|
if ! hermes config get skills.auto_load --json 2>/dev/null | grep -q rechner-setup; then
|
|
if ! hermes config get skills.auto_load --json 2>/dev/null | grep -q rechner-setup; then
|
|
|
- hermes config set skills.auto_load '["rechner-setup"]'
|
|
|
|
|
|
|
+ debug hermes config set skills.auto_load '["rechner-setup"]'
|
|
|
debug "hermes: skill 'rechner-setup' automatisch laden konfiguriert."
|
|
debug "hermes: skill 'rechner-setup' automatisch laden konfiguriert."
|
|
|
return
|
|
return
|
|
|
fi
|
|
fi
|