aboutsummaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/.bashrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/home/.bashrc b/home/.bashrc
index 620ea76..88b1634 100644
--- a/home/.bashrc
+++ b/home/.bashrc
@@ -93,6 +93,12 @@ alias ls="exa -1aFghlmU --git --color=always --sort=name --time-style=iso --grou
93######################################################################## 93########################################################################
94# Fixes for Emacs vterm 94# Fixes for Emacs vterm
95####################### 95#######################
96if [ -z "$INSIDE_EMACS" ] ; then
97 export PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*} $(eval "echo $MYPSDIR}")\007"'
98else
99 export PROMPT_COMMAND=''
100fi
101
96vterm_printf() { 102vterm_printf() {
97 if [ -n "$TMUX" ] && ([ "${TERM%%-*}" = "tmux" ] || [ "${TERM%%-*}" = "screen" ]); then 103 if [ -n "$TMUX" ] && ([ "${TERM%%-*}" = "tmux" ] || [ "${TERM%%-*}" = "screen" ]); then
98 # Tell tmux to pass the escape sequences through 104 # Tell tmux to pass the escape sequences through