mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-11 11:43:03 +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
|
echo -e "No profile found at path: " $profilePath
|
||||||
fi
|
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
|
#+end_src
|
||||||
* Channels
|
* Channels
|
||||||
Specifying additional 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