aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/.profile4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/.profile b/system/.profile
index 39295eb..8a597f6 100644
--- a/system/.profile
+++ b/system/.profile
@@ -16,6 +16,10 @@ export PATH="$HOME/.local/bin:$PATH"
[ -f "/home/camil/.ghcup/env" ] && . "/home/camil/.ghcup/env"
+export NVM_DIR="$HOME/.nvm"
+[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
+[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
+
[ -f /home/camil/.nix-profile/etc/profile.d/nix.sh ] && . /home/camil/.nix-profile/etc/profile.d/nix.sh
# with TERM=rxvt-unicode-256color, backspace and other keys don't work in nix shells
[ "$IN_NIX_SHELL" = "" -a "$TERM" = "rxvt-unicode-256color" ] || TERM=rxvt-256color