diff options
author | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-05-29 18:01:14 -0400 |
---|---|---|
committer | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-05-29 18:01:14 -0400 |
commit | 58e326507d681c78ee186d1d2888d57eb44dabce (patch) | |
tree | bd704c254d7e0beef6941edce52d0bf5acc2e5ff | |
parent | Add `--debug-init` flag to emacs startx launch command (diff) | |
download | dotfiles.old-58e326507d681c78ee186d1d2888d57eb44dabce.tar.gz dotfiles.old-58e326507d681c78ee186d1d2888d57eb44dabce.tar.bz2 dotfiles.old-58e326507d681c78ee186d1d2888d57eb44dabce.zip |
Refactor for organization
-rw-r--r-- | home/.bashrc | 6 |
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 | ####################### |
96 | if [ -z "$INSIDE_EMACS" ] ; then | ||
97 | export PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*} $(eval "echo $MYPSDIR}")\007"' | ||
98 | else | ||
99 | export PROMPT_COMMAND='' | ||
100 | fi | ||
101 | |||
96 | vterm_printf() { | 102 | vterm_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 |