.dotfiles/.config/environment.d/10-paths

14 lines
387 B
Bash

#!/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"