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