From 55d07e9e2c3a8543cc4958637a4f5b3d0b13f0af Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Thu, 19 Dec 2019 21:16:52 +0200
Subject: [PATCH] Avoid another subshell.

---
 .bashrc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.bashrc b/.bashrc
index 335ed3e..31675f1 100644
--- a/.bashrc
+++ b/.bashrc
@@ -296,7 +296,7 @@ flatpak_kill () {
 
 # shellcheck disable=SC2120
 prune_ssh_sockets () {
-    ( [ "${1:-}" != '-f' ] && [ "${1:-}" != '--force' ] ) || killall -v ssh || true
+    { [ "${1:-}" != '-f' ] && [ "${1:-}" != '--force' ]; } || killall -v ssh || true
     find ~/.ssh/ \
         -maxdepth 1 \
         -type s \
-- 
GitLab