Make setup handle the symlink too
This commit is contained in:
1 parent
1c52fad062
commit
37cf427fcf
1 file changed
+3
@@ -44,6 +44,9 @@ cp -r "$PACKAGE_DIR/config" "$CONFIG_DIR"
|
|||||||
cp -r "$PACKAGE_DIR/data" "$DATA_DIR"
|
cp -r "$PACKAGE_DIR/data" "$DATA_DIR"
|
||||||
cp -r "$PACKAGE_DIR/cache" "$CACHE_DIR"
|
cp -r "$PACKAGE_DIR/cache" "$CACHE_DIR"
|
||||||
|
|
||||||
|
# Create link for current theme
|
||||||
|
ln -snf "${HOME}/.config/omarchy/current/theme/neovim.lua" "${CONFIG_DIR}/lua/plugins/theme.lua"
|
||||||
|
|
||||||
for dir in $DATA_DIR/lazy/*/; do
|
for dir in $DATA_DIR/lazy/*/; do
|
||||||
if [ -d "$dir/.git" ]; then
|
if [ -d "$dir/.git" ]; then
|
||||||
git --git-dir="$dir/.git" --work-tree="$dir" restore .
|
git --git-dir="$dir/.git" --work-tree="$dir" restore .
|
||||||
|
|||||||
Reference in new issue
Block a user