guix: script to clear PATH

This commit is contained in:
Pavel Korytov 2024-01-25 20:36:37 +03:00
parent d36329b316
commit b491314915
2 changed files with 8 additions and 0 deletions

View file

@ -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.

4
bin/scripts/guix-off Executable file
View file

@ -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