From 58e326507d681c78ee186d1d2888d57eb44dabce Mon Sep 17 00:00:00 2001 From: Mountain Man <43313373+MountainMan1312@users.noreply.github.com> Date: Mon, 29 May 2023 18:01:14 -0400 Subject: Refactor for organization --- home/.bashrc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'home') 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 ######################################################################## # Fixes for Emacs vterm ####################### +if [ -z "$INSIDE_EMACS" ] ; then + export PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*} $(eval "echo $MYPSDIR}")\007"' +else + export PROMPT_COMMAND='' +fi + vterm_printf() { if [ -n "$TMUX" ] && ([ "${TERM%%-*}" = "tmux" ] || [ "${TERM%%-*}" = "screen" ]); then # Tell tmux to pass the escape sequences through -- cgit v1.2.3