fixed init_rc and added it to general setup
Some checks failed
Test setup and build APKs archlinux / Build-APK-Arch-Linux (push) Failing after 6m41s
Test setup and build APKs / Build-and-Create-Development-Environment (push) Successful in 12s

This commit is contained in:
2025-12-09 16:43:27 +01:00
parent daba599740
commit 25fdc285d3

6
dist/init_rc.sh vendored
View File

@@ -7,8 +7,8 @@ if [ -f "$HOME/.bashrc" ]; then
elif [ -f "$HOME/.zshrc" ]; then elif [ -f "$HOME/.zshrc" ]; then
SHELL_RC="$HOME/.zshrc" SHELL_RC="$HOME/.zshrc"
else else
echo "No .bashrc or .zshrc file found in home directory." touch "$HOME/.bashrc"
exit 1 SHELL_RC="$HOME/.bashrc"
fi fi
echo "Using shell rc file: $SHELL_RC" echo "Using shell rc file: $SHELL_RC"
@@ -21,3 +21,5 @@ if ! grep -q "export PATH=\$PATH:\$HOME/.local/bin" "$SHELL_RC"; then
else else
echo ".local/bin is already in PATH in $SHELL_RC" echo ".local/bin is already in PATH in $SHELL_RC"
fi fi
source "$SHELL_RC"