diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2023-03-25 22:08:44 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2023-03-25 22:08:44 +0530 |
commit | 5c46fa8cdccf410be97f52eecd695874d11396f1 (patch) | |
tree | f5d9ecbd327451ee215d7954965f372a1d6dc5c8 | |
parent | d0de7ae0db9660a3f309c2c0f9cc4cdba3d34121 (diff) |
bashrc: setting TERM environmental variable to xterm-256color for better terminal emulation for client via sshHEADmain
-rw-r--r-- | .bashrc | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 \ |