From b99783bc351c39f00c18901aefdb97a927101680 Mon Sep 17 00:00:00 2001 From: giomba Date: Thu, 29 Sep 2022 21:38:02 +0200 Subject: [PATCH] zshrc: add KDE build directory. --- zshrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/zshrc b/zshrc index 1a20804..f8ccc9f 100644 --- a/zshrc +++ b/zshrc @@ -3846,6 +3846,15 @@ fi # Use QT dialogs instead of GTK ones export GTK_USE_PORTAL=1 +# auto-generated by kdesrc-build initial setup: do not remove! +# Add the kdesrc-build directory to the path +export PATH="$HOME/kde/src/kdesrc-build:$PATH" +# Create alias for running software built with kdesrc-build +kdesrc-run () +{ + source "$HOME/kde/build/$1/prefix.sh" && "$HOME/kde/usr/bin/$@" +} + ## END OF FILE ################################################################# # vim:filetype=zsh foldmethod=marker autoindent expandtab shiftwidth=4 # Local variables: