diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-08-08 18:19:04 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-08-08 18:19:04 +0200 |
commit | 323d43a3854310b03367d71750a88663eef4c181 (patch) | |
tree | c7d698d815b7d46adedb4ef460f13f36ecfc790b | |
parent | 115add6f227c523332037c373a0294c6a0d46300 (diff) | |
download | dotfiles-323d43a3854310b03367d71750a88663eef4c181.tar.xz |
zshrc: replace termite/__vte_osc7 thing with portable version
-rw-r--r-- | zsh/.zshrc | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -58,10 +58,6 @@ function preexec { print -Pn "\e];$cmd:q\a" } -if [[ $TERM == xterm-termite && $DISPLAY == ":0" ]]; then - . /etc/profile.d/vte.sh - __vte_osc7 -fi # Load all configs #for f in ~/.config/zsh/zsh.d/*.zsh @@ -120,3 +116,8 @@ if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then zle -N zle-line-init zle -N zle-line-finish fi + +if [[ -n "$VTE_VERSION" ]]; then + source /etc/profile.d/vte.sh + __vte_prompt_command +fi |