From f3107464583f12f77e39a6ba3b60079dcd65970a Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Thu, 23 May 2024 20:44:04 +0200 Subject: [PATCH] Remove $TERM declaration & update .gitignore --- .bashrc | 10 ++++------ .gitignore | 2 ++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.bashrc b/.bashrc index 0a0a081..875ea86 100644 --- a/.bashrc +++ b/.bashrc @@ -24,11 +24,6 @@ shopt -s checkwinsize # make less more friendly for non-text input files, see lesspipe(1) [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" -# set term if it is not set yet by the terminal -if [ -z "$TERM" ]; then - export TERM="tmux-256color" -fi - # set a fancy prompt (non-color, unless we know we "want" color) case "$TERM" in xterm-color|*-256color) color_prompt=yes;; @@ -53,7 +48,8 @@ if [ "$force_color_prompt" == "yes" ] && [ -z "$color_prompt" ]; then fi if [ "$color_prompt" = yes ]; then - PS1="\[\033[1;35m\]\u\[\033[1;34m\]@\[\033[1;30m\]\h \[\033[1;34m\]\w\\[\033[0;37m\]$ " + PS1="\[\033[1;35m\]\u\[\033[1;34m\]@\[\033[0;34m\]\h \[\033[1;34m\]\w\\[\033[0;30m\]$ " + else PS1='\u@\h:\w\$ ' fi @@ -99,3 +95,5 @@ fi if [ -f ~/.bashrc.override ]; then . ~/.bashrc.override fi + +source /usr/share/nvm/init-nvm.sh diff --git a/.gitignore b/.gitignore index 6b58d25..0654b04 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,8 @@ local_settings.py db.sqlite3 db.sqlite3-journal media +env/ +upgrade_env/ # If your build process includes running collectstatic, then you probably don't need or want to include staticfiles/ # in your Git repository. Update and uncomment the following line accordingly.