From 6f4e0573de4b7c154ae649f6a83e2e90ee98d27b Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 4 Sep 2017 09:05:07 +0200 Subject: zsh: Fix OS check for SSH agent --- zsh/.config/zsh/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zsh') diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index 91d5e01..7b1249c 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -106,7 +106,7 @@ bindkey '\e ' hist-complete zstyle ':completion:*' matcher-list 'm:{a-zA-Z-_}={A-Za-z_-}' 'r:|=*' 'l:|=* r:|=*' zstyle ':completion:*' completer _expand _complete _match -if [[ $os -ne "darwin" && -n $commands[gpg-connect-agent] ]] +if [[ $os != "darwin" && -n $commands[gpg-connect-agent] ]] then # When using SSH support, use the current TTY for passphrase prompts gpg-connect-agent updatestartuptty /bye > /dev/null -- cgit 1.4.1