From 24029d6f4227c1ca2cc667db7893b976112d2a98 Mon Sep 17 00:00:00 2001 From: Ken Matsui <26405363+ken-matsui@users.noreply.github.com> Date: Fri, 20 Dec 2024 17:44:28 -0500 Subject: [PATCH] Setup: fix all case in config.sh --- setup/common/config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/common/config.sh b/setup/common/config.sh index e3101b6..91edea9 100755 --- a/setup/common/config.sh +++ b/setup/common/config.sh @@ -59,7 +59,7 @@ fi mkdir -p "$HOME/.config" -if [ "$1" = 'all' ] || [ "$1" = '.config/Code' ]; then +if [ "$#" -eq 0 ] || [ "$1" = '.config/Code' ]; then OS_NAME="$(uname -s)" if [ "$OS_NAME" = Darwin ]; then # TARGET=$HOME/Library/Application Support/Code