diff options
author | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2016-11-24 14:41:02 +0000 |
---|---|---|
committer | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2016-11-24 14:41:02 +0000 |
commit | f448749fa10b55d2b819ece0afb6639402bcd76c (patch) | |
tree | 066ba6a9d3cc8426039b9593a98f93cce69cece8 /Shell/zshrc | |
parent | 7f67f59fe55ba4e9c03ecf20b5114101a81a8624 (diff) | |
download | dotfiles-f448749fa10b55d2b819ece0afb6639402bcd76c.tar.gz dotfiles-f448749fa10b55d2b819ece0afb6639402bcd76c.tar.bz2 dotfiles-f448749fa10b55d2b819ece0afb6639402bcd76c.zip |
massive performance and bug fixes
Diffstat (limited to 'Shell/zshrc')
-rw-r--r-- | Shell/zshrc | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/Shell/zshrc b/Shell/zshrc index 1c7bb47..8043d83 100644 --- a/Shell/zshrc +++ b/Shell/zshrc @@ -58,27 +58,27 @@ export ANDROID_HOME=/opt/android-sdk #~/bin/sysinfo -#case $TERM in -# (*rxvt*) -# -# # Write some info to terminal title. -# # This is seen when the shell prompts for input. -# function precmd { -#if pgrep "panel" > /dev/null -#then -# print -Pn "\e]0;%(1j,%j job%(2j|s|); ,)%1~\a" -# ~/dotfiles/Panel/lemonbar/windows -#fi -# } -# # Write command and args to terminal title. -# # This is seen while the shell waits for a command to complete. -# function preexec { -#if pgrep "panel" > /dev/null -#then -# printf "\033]0;%s\a" "$1" -# ~/dotfiles/Panel/lemonbar/windows -#fi -# } -# -# ;; -#esac +case $TERM in + (*rxvt*) + + # Write some info to terminal title. + # This is seen when the shell prompts for input. + function precmd { +if pgrep "panel" > /dev/null +then + print -Pn "\e]0;%(1j,%j job%(2j|s|); ,)%1~\a" + ~/dotfiles/Panel/lemonbar/windows +fi + } + # Write command and args to terminal title. + # This is seen while the shell waits for a command to complete. + function preexec { +if pgrep "panel" > /dev/null +then + printf "\033]0;%s\a" "$1" + ~/dotfiles/Panel/lemonbar/windows +fi + } + + ;; +esac |