···11#!/usr/bin/env bash
22# shellcheck disable=SC2034
33# SPDX-License-Identifier: MPL-2.0
44-#set -eo pipefail
5465if [[ $DEBUG != "" ]]; then
76 set -x
···1918 if [[ $1 == "debug" ]]; then
2019 [[ $DEBUG != "" ]] && echo "[ssh-agent-loader] debug: $2"
2120 elif [[ $1 == "warn" ]]; then
2222- [[ $SSH_AGENT_LOADER_SLIENT != "1" ]] && echo "$LOGOPS_PREFIX warning: $2"
2121+ echo "$LOGOPS_PREFIX warning: $2"
2222+ elif [[ $1 == "error" ]]; then
2323+ echo "$LOGOPS_PREFIX error: $2"
2324 else
2425 [[ $SSH_AGENT_LOADER_SLIENT != "1" ]] && echo "$LOGOPS_PREFIX $2"
2526 fi
···4546try_keychain_ssh_agent() {
4647 if [[ $FF_KEYCHAIN == "1" ]]; then
4748 logOps info "attempting to use keychain for SSH agents" keychain
4848- eval "$(keychain --eval --agents ssh,gpg)"
4949+ [[ "$SSH_AGENT_LOADER_SLIENT" == "" ]] && eval "$(keychain --eval --agents ssh,gpg)" || eval "$(keychain --eval --agents ssh,gpg --quiet)"
4950 else
5051 logOps warn "keychain is not in PATH yet" keychain
5152 return 1
···8081ssh-agent-loader() {
8182 if [[ $1 == "" || $1 == "auto" ]]; then
8283 if [[ $SSH_CONNECTION != "" ]] && [[ $VSCODE_IPC_HOOK_CLI != "" ]]; then
8383- echo info "automatic detection is disabled while you're in a VS Code Remote SSH session"
8484+ logOps info "automatic detection is disabled while you're in a VS Code Remote SSH session"
8485 return
8586 fi
8687
+7
misc/starship.toml
···11+# Generally generated by NixOS while building my system config for stellapent-cier
22+# alongside some customizations.
33+"$schema" = 'https://starship.rs/config-schema.json'
44+scan_timeout = 50
55+command_timeout = 3500
66+77+## GENERATED BY NIXOS STARTS BELOW THIS LINE ##
18[aws]
29symbol = " "
310format = "\\[[$symbol($profile)(\\($region\\))(\\[$duration\\])]($style)\\]"