Modulize the environment
This commit is contained in:
parent
0b48fe1a3c
commit
6349fa1e51
8 changed files with 70 additions and 53 deletions
.config/environment.d
14
.config/environment.d/10-paths
Normal file
14
.config/environment.d/10-paths
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
export GOPATH="$XDG_DATA_HOME/go"
|
||||
|
||||
export NIX_PATH="$HOME/.nix-defexpr/channels:/nix/var/nix/profiles/per-user/$(whoami)/channels${NIX_PATH:+:$NIX_PATH}"
|
||||
|
||||
# add my paths
|
||||
export PATH="$HOME/.local/bin:$HOME/.bin:$PATH"
|
||||
# add lang paths
|
||||
export PATH="$GOPATH/bin:$HOME/.cargo/bin:$PATH"
|
||||
# add tool paths
|
||||
export PATH="$HOME/.local/share/JetBrains/Toolbox/scripts:$PATH"
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue