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"