should work?

This commit is contained in:
2026-03-07 20:45:22 +00:00
parent 3f4e5f4440
commit 40ff012dbe
5 changed files with 264 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
#!/usr/bin/env bash
#
# Folders to link into the host .config directory
link_to_config=(
"git"
"starship.toml"
)
link_to_home=(
".bashrc"
".gitconfig"
)
for link in "${link_to_config[@]}"; do
config_path="$HOME/dotfiles/$link"
target_path="$HOME/.config/$link"
ln -s "$config_path" "$target_path"
done
for link in "${link_to_home[@]}"; do
config_path="$HOME/dotfiles/$link"
target_path="$HOME/$link"
ln -s "$config_path" "$target_path"
done