diff --git a/installer/symlinks.sh b/installer/symlinks.sh index 6ba28a9f..df4f267b 100755 --- a/installer/symlinks.sh +++ b/installer/symlinks.sh @@ -19,14 +19,14 @@ directories=( ~/.re.pl ) +if is os name eq darwin; then + directories+=("$HOME/.config/karabiner") +fi + for dir in "${directories[@]}"; do mkdir -p "$dir" done -if is os name eq darwin; then - mkdir -p "$HOME/.config/karabiner" -fi - nvim_conf_dir="$HOME/.config/nvim" # Simplify after deployed to all environments if [[ -d $nvim_conf_dir && ! -L $nvim_conf_dir ]]; then