fix: Ensure dir exists
This commit is contained in:
4
dotfiles.sh
Normal file → Executable file
4
dotfiles.sh
Normal file → Executable file
@@ -34,6 +34,10 @@ create_symlinks() {
|
|||||||
rm -rf "$target_alacritty_themes"
|
rm -rf "$target_alacritty_themes"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Ensure .config/alacritty directory exists
|
||||||
|
mkdir -p "$target_dir/.config/alacritty"
|
||||||
|
|
||||||
|
|
||||||
# Create symlink for the entire directory
|
# Create symlink for the entire directory
|
||||||
echo "Linking directory: $src_dir/.config/alacritty/themes -> $target_alacritty_themes"
|
echo "Linking directory: $src_dir/.config/alacritty/themes -> $target_alacritty_themes"
|
||||||
ln -s "$src_dir/.config/alacritty/themes" "$target_alacritty_themes"
|
ln -s "$src_dir/.config/alacritty/themes" "$target_alacritty_themes"
|
||||||
|
|||||||
Reference in New Issue
Block a user