summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2023-03-25 22:08:44 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2023-03-25 22:08:44 +0530
commit5c46fa8cdccf410be97f52eecd695874d11396f1 (patch)
treef5d9ecbd327451ee215d7954965f372a1d6dc5c8 /.bashrc
parentd0de7ae0db9660a3f309c2c0f9cc4cdba3d34121 (diff)
bashrc: setting TERM environmental variable to xterm-256color for better terminal emulation for client via sshHEADmain
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc5
1 files 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 \