diff options
author | Alan Pearce | 2017-09-04 09:05:07 +0200 |
---|---|---|
committer | Alan Pearce | 2017-09-04 09:05:07 +0200 |
commit | 6f4e0573de4b7c154ae649f6a83e2e90ee98d27b (patch) | |
tree | 18ad884af724612b4857f8f2a0d7e3d6c759eef7 /zsh | |
parent | cce695c698235eb1e7364d73d4e708523c413eba (diff) | |
download | dotfiles-6f4e0573de4b7c154ae649f6a83e2e90ee98d27b.tar.lz dotfiles-6f4e0573de4b7c154ae649f6a83e2e90ee98d27b.tar.zst dotfiles-6f4e0573de4b7c154ae649f6a83e2e90ee98d27b.zip |
zsh: Fix OS check for SSH agent
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.config/zsh/.zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
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 |