feat(bash): add Nix to PATH

This commit is contained in:
Maciej Jur 2024-02-27 20:50:24 +01:00
parent 035cd2da44
commit 6c4bdebd86
Signed by: kamov
GPG key ID: 191CBFF5F72ECAFD

View file

@ -34,16 +34,12 @@ export EDITOR="$(command -v nvim 2>/dev/null || command -v vim 2>/dev/null || co
[ -x "$(command -v nvim 2> /dev/null)" ] && alias vim='nvim' [ -x "$(command -v nvim 2> /dev/null)" ] && alias vim='nvim'
[ -x "$(command -v neovide 2> /dev/null)" ] && alias nvim='WINIT_X11_SCALE_FACTOR=1.0 neovide' [ -x "$(command -v neovide 2> /dev/null)" ] && alias nvim='WINIT_X11_SCALE_FACTOR=1.0 neovide'
# ghcup (Haskell) # Haskell
[ -f "$HOME/.ghcup/env" ] && source "$HOME/.ghcup/env" # ghcup-env [ -f "$HOME/.ghcup/env" ] && source "$HOME/.ghcup/env" # ghcup-env
# NodeJS # NodeJS
export npm_config_prefix="$HOME/.local" export npm_config_prefix="$HOME/.local" # This is where global packages are installed
export PATH="$HOME/.local/bin:$PATH" export PATH="$HOME/.local/bin:$PATH"
# Bun # Nix
export BUN_INSTALL="$HOME/.bun" export PATH="$HOME/.nix-profile/bin:$PATH"
export PATH="$BUN_INSTALL/bin:$PATH"
# Julia
export PATH="$HOME/.juliaup/bin:$PATH"