diff --git a/Guix.org b/Guix.org index 63685d2..0ec9a4b 100644 --- a/Guix.org +++ b/Guix.org @@ -113,6 +113,10 @@ else echo -e "No profile found at path: " $profilePath fi +#+end_src +** Turn off Guix profiles +#+begin_src bash :tangle ~/bin/scripts/guix-off +export PATH=$(echo $PATH | tr ":" "\n" | grep -vE "guix|nix|gnu" | tr "\n" ":") #+end_src * Channels Specifying additional channels. diff --git a/bin/scripts/guix-off b/bin/scripts/guix-off new file mode 100755 index 0000000..e4c2e79 --- /dev/null +++ b/bin/scripts/guix-off @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +# [[file:../../Guix.org::*Turn off Guix profiles][Turn off Guix profiles:1]] +export PATH=$(echo $PATH | tr ":" "\n" | grep -vE "guix|nix|gnu" | tr "\n" ":") +# Turn off Guix profiles:1 ends here