tips(kdedev): Add .kde_bashrc
All checks were successful
check / check (push) Successful in 35s

This commit is contained in:
Florian RICHER 2024-09-07 20:55:40 +02:00
parent 2aa8ea0180
commit d08eb3a107
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77
3 changed files with 36 additions and 3 deletions

View file

@ -7,6 +7,13 @@ if [[ $PATH != *".local/bin"* ]]; then
source ~/.bashrc
fi
if [[ $PATH != *"alias new_shell"* ]]; then
echo "Append new_shell alias to PATH in ~/.bashrc"
echo 'alias new_shell="env -u PATH -u QML2_IMPORT_PATH -u QT_PLUGIN_PATH -u NIXPKGS_QT6_QML_IMPORT_PATH -u XDG_CONFIG_DIRS bash -l"' >> ~/.bashrc
echo "Reload shell"
source ~/.bashrc
fi
echo "Installing kde-builder"
curl 'https://invent.kde.org/sdk/kde-builder/-/raw/master/scripts/initial_setup.sh?ref_type=heads' > ~/initial_setup.sh
bash ~/initial_setup.sh && rm ~/initial_setup.sh
@ -15,6 +22,6 @@ echo "Run initial setup from kde-builder"
kde-builder --initial-setup
echo "Install missing dependencies"
sudo dnf install qt6-qttools-devel
sudo dnf install qt6-*-devel
echo "Configuration DONE"