mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-10 11:13:04 +03:00
guix: script to clear PATH
This commit is contained in:
parent
d36329b316
commit
b491314915
2 changed files with 8 additions and 0 deletions
4
Guix.org
4
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.
|
||||
|
|
|
|||
4
bin/scripts/guix-off
Executable file
4
bin/scripts/guix-off
Executable 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
|
||||
Loading…
Add table
Reference in a new issue