Ensure nodejs working

This commit is contained in:
lif
2025-11-06 21:53:40 +00:00
parent 92365bd2f2
commit b4277e1881
2 changed files with 19 additions and 2 deletions

View File

@@ -4,6 +4,14 @@ target_config_dir="$HOME/.config"
nodejs_version="v22.21.0"
current_dir="$(pwd)"
# cp ./core-setup/arch-surface.conf /boot/loader/entries/arch-surface.conf
# cp ./core-setup/cpupower /etc/default/cpupower
cd core-setup && sh setup
cd $current_dir
# Ensure fish/fisher setup + install plugins
if fish -c "which fisher" >/dev/null 2>&1; then
echo "fisher is installed"
@@ -13,8 +21,13 @@ else
fish -c "curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher"
fi
for dir in "$source_dir"/*/; do
tree .
for dir in $source_dir/*/; do
echo ">>>"$dir
echo "Raw dir value: '$dir'"
ls -ld "$dir"
if [ -d "$dir" ]; then # Check if it's a directory
echo "asdkgjnsgjsdkgan"
dir_name=$(basename "$dir")
source=$source_dir"/"$dir_name
target=$target_config_dir"/"$dir_name