summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2023-06-10 21:41:16 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2023-06-10 21:41:16 +0530
commitfe6e0d8dbd944b2bbae08f5e1b2318ec333ae14a (patch)
treeff7fc9747b53d88609aa537ce5978cbd59cf9c48
parent904779ca5828f03a3f289433c4ad0cc4ed0fae7e (diff)
bashrc: adding TERM envvar for footterm + shortcutrc
-rw-r--r--.bashrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index 2eee29e..4f49132 100644
--- a/.bashrc
+++ b/.bashrc
@@ -18,6 +18,7 @@
alias ls='ls --color=auto'
#PS1='[\u@\h \W]\$ '
+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 1)\]]\[$(tput setaf 7)\]\\$ \[$(tput sgr0)\]"
#export PS1="[\u@\h ~]\\$\[$(tput sgr0)\]"
@@ -66,6 +67,9 @@ export GRIM_DEFAULT_DIR="$HOME/pix/Screenshots"
# Load aliases
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc"
+# Load shortcut
+[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc"
+
#partially supported XDG Base Directory
[ -f "$HOME/.config/env" ] && source "$HOME/.config/env"