From 982a81adbe2536cb9d80d2d6cab77f3d13881b47 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 17 Nov 2024 19:10:18 +0100 Subject: [PATCH] 1line --- shell/shell.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/shell/shell.sh b/shell/shell.sh index 0813560..cb4557c 100644 --- a/shell/shell.sh +++ b/shell/shell.sh @@ -39,9 +39,7 @@ shell_configure() { local file path for file in "bash_completion" "completions/git"; do path="${root}/${file}" - if [ -f "${path}" ]; then - . "${path}" - fi + [ -f "${path}" ] && . "${path}" done # history HISTCONTROL="ignorespace"