]> git.sev.monster Git - dotfiles.git/blobdiff - etc/zsh/.zprofile
zsh: replace subshells with list execution
[dotfiles.git] / etc / zsh / .zprofile
index 3aedb8c80f194258c480cc106f0a27a65969c9b1..3ade322a3f0c0bcf741074f9037747e08faf0fa7 100644 (file)
@@ -179,7 +179,7 @@ if [[ ! -v _sev_setup_ssh ]] {
         if [[ -f $e ]] {
             IFS=$'\0' read -r sock pid <$e
         }
-        if ([[ -S $sock && $pid > 0 ]] && kill -0 $pid >/dev/null 2>&1) {
+        if {[[ -S $sock && $pid > 0 ]] && kill -0 $pid >/dev/null 2>&1} {
             [[ -o interactive ]] && print -P "Reusing agent PID $pid%f"
             export SSH_AUTH_SOCK=$sock
             export SSH_AGENT_PID=$pid
This page took 0.046097 seconds and 4 git commands to generate.