]> arthur.barton.de Git - ax-zsh.git/blobdiff - default_plugins/ssh/ssh.zshrc
ssh: Slightly enhance file comments
[ax-zsh.git] / default_plugins / ssh / ssh.zshrc
index 1afc7f469116c1996f816127ca176add79dff17a..0faab3c95fdd3b7c826121a4439896431faa629c 100644 (file)
@@ -42,8 +42,9 @@ fi
 
 # Save SSH environment when available:
 if [[ -n "$SSH_AUTH_SOCK" && -d "$XDG_RUNTIME_DIR" ]]; then
-       # Save current environment when no state exists or is invalid.
+       # Save current environment when no state exists or state file is invalid.
        if [[ -r "$XDG_RUNTIME_DIR/ssh-env.sh" ]]; then
+               # Check existing state file ...
                (
                        source "$XDG_RUNTIME_DIR/ssh-env.sh"
                        if [[ -z "$SSH_AUTH_SOCK" || ! -r "$SSH_AUTH_SOCK" ]]; then