diff --git a/bash/.bashrc b/bash/.bashrc index 54da571..a3d8993 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -8,6 +8,10 @@ # Export our directory to Termite for opening new terminals if { [[ "$TERM" == xterm-termite ]] || [[ "$TERM" == xterm ]]; } && [ -r /etc/profile.d/vte.sh ]; then + if [[ "$TERM" == xterm ]]; then # FIXME: hack to make Xterm work + VTE_VERSION="${VTE_VERSION:-3405}" + fi + . /etc/profile.d/vte.sh __vte_prompt_command fi diff --git a/zsh/.zshrc b/zsh/.zshrc index 7453657..28fe171 100755 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,6 +1,10 @@ # Export our directory to Termite for opening new terminals if { [[ "$TERM" == xterm-termite ]] || [[ "$TERM" == xterm ]]; } && [ -r /etc/profile.d/vte.sh ]; then + if [[ "$TERM" == xterm ]]; then # FIXME: hack to make Xterm work + VTE_VERSION="${VTE_VERSION:-3405}" + fi + . /etc/profile.d/vte.sh __vte_osc7 precmd_functions+=(__vte_prompt_command) # FIXME: why isn't it set above ?