]> arthur.barton.de Git - ax-zsh.git/blobdiff - plugins/ssh_macos/ssh_macos.zshrc
ssh_macos: Move to "zprofile" stage
[ax-zsh.git] / plugins / ssh_macos / ssh_macos.zshrc
diff --git a/plugins/ssh_macos/ssh_macos.zshrc b/plugins/ssh_macos/ssh_macos.zshrc
deleted file mode 100644 (file)
index 92639e8..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-# AX-ZSH: Alex' Modular ZSH Configuration
-# ssh_macos.zshrc: Additional configuration for SSH on Apple macOS X
-
-# Make sure that "ssh(1)" is installed.
-(( $+commands[ssh] )) || return 1
-
-# Test for macOS Sierra (10.12) or newer:
-[[ $(uname -s) = "Darwin" ]] || return 1
-[[ $(uname -r | cut -d'.' -f1) -ge 16 ]] || return 1
-
-# Load SSH keys from Keychain into SSH agent when the agent has no keys.
-ssh-add -l >/dev/null || ssh-add -A >/dev/null 2>&1