From 10192384d9e325de573320847b67fd82023e0636 Mon Sep 17 00:00:00 2001 From: Jyotirmoy Bandyopadhayaya Date: Tue, 6 Feb 2024 00:29:25 +0530 Subject: [PATCH] Update .bashrc --- .bashrc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.bashrc b/.bashrc index 5799592..6b0d82b 100644 --- a/.bashrc +++ b/.bashrc @@ -3,8 +3,13 @@ # # If not running interactively, don't do anything -[[ $- != *i* ]] && return alias ls='ls --color=auto' -PS1='[\u@\h \W]\$ ' . "$HOME/.cargo/env" + +export GPG_TTY=$(tty) + +export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm +[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" +source /etc/nhi/nhi.bash