From 5c46fa8cdccf410be97f52eecd695874d11396f1 Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Sat, 25 Mar 2023 22:08:44 +0530 Subject: bashrc: setting TERM environmental variable to xterm-256color for better terminal emulation for client via ssh --- .bashrc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.bashrc b/.bashrc index 93459e1..bb7fca4 100644 --- a/.bashrc +++ b/.bashrc @@ -10,8 +10,7 @@ # If not running interactively, don't do anything [[ $- != *i* ]] && return -alias ls='ls --color=auto' - +export TERM="xterm-256color" export PS1="\[$(tput bold)\]\[$(tput setaf 1)\]{\[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 4)\]\h\[$(tput setaf 5)\] \W\[$(tput setaf 2)\]\$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/')\[$(tput setaf 1)\]}\[$(tput setaf 7)\]\\$ \[$(tput sgr0)\]" #auto cd @@ -67,7 +66,7 @@ alias \ listdel='trash-list' \ restore='trash-restore' \ empty='trash-empty' \ - sitedir='cd /var/www' \ + sitedir='cd /var/www/draco/public' \ gitdir='cd /var/git' #git alias \ -- cgit v1.2.3