all repos — nixfiles @ 6f4e0573de4b7c154ae649f6a83e2e90ee98d27b

System and user configuration, managed by nix and home-manager

zsh: Fix OS check for SSH agent

Alan Pearce
commit

6f4e0573de4b7c154ae649f6a83e2e90ee98d27b

parent

cce695c698235eb1e7364d73d4e708523c413eba

1 file changed, 1 insertion(+), 1 deletion(-)

jump to
M zsh/.config/zsh/.zshrczsh/.config/zsh/.zshrc
@@ -106,7 +106,7 @@
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