Compare commits
No commits in common. "35d4c10919b547b7721b3bb33821cfb51e3defec" and "e56dc7b96c258f3649d9562d221b2da7aed7d42f" have entirely different histories.
35d4c10919
...
e56dc7b96c
Binary file not shown.
Before Width: | Height: | Size: 67 B |
|
@ -416,11 +416,7 @@ machines_n_help() { machines_network_help "$@"; }
|
||||||
function machines_update-all {
|
function machines_update-all {
|
||||||
machines_machine_list | while read -r machine; do
|
machines_machine_list | while read -r machine; do
|
||||||
echo "Updating $machine..."
|
echo "Updating $machine..."
|
||||||
if [ $machine = $(cat "$MACHINES_CONFIG/this.name") ]; then
|
ssh "$machine" 'cd .dotfiles && git pull; machines update' &
|
||||||
machines_update
|
|
||||||
continue
|
|
||||||
fi
|
|
||||||
ssh -n "$machine" 'cd .dotfiles; git pull; ./config/scripts/machines update'
|
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -106,14 +106,10 @@ prependpath "$HOME/.config/scripts"
|
||||||
prependpath "$HOME/.termux/bin"
|
prependpath "$HOME/.termux/bin"
|
||||||
)
|
)
|
||||||
|
|
||||||
# For superseding commands with better ones if they are present
|
|
||||||
|
|
||||||
# SSH Agent
|
if grep -q enable-ssh-support "$GNUPGHOME/gpg-agent.conf" 2> /dev/null
|
||||||
|
|
||||||
# If GPG agent is configured for SSH
|
|
||||||
if grep -q ^enable-ssh-support$ $GNUPGHOME/gpg-agent.conf 2> /dev/null
|
|
||||||
then
|
then
|
||||||
# Load GPG agent
|
# Use GPG as SSH agent
|
||||||
unset SSH_AGENT_PID
|
unset SSH_AGENT_PID
|
||||||
if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
|
if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
|
||||||
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
||||||
|
|
Loading…
Reference in a new issue