]> gitweb @ CieloNegro.org - sugar.git/blobdiff - dot-files/_zshrc
Auto commit by The Sugar System.
[sugar.git] / dot-files / _zshrc
index fc238a3f8a656a67b3c739a3ce1d4264855544fe..b3677dd17cef106cb89bd46c18f0f70011661577 100644 (file)
@@ -58,6 +58,8 @@ function _we_are_in_gnu_screen () {
 
 _prompt_base='%{%(?.$fg[green].$fg[red])%}%B[%n@%m] %#%b %{$reset_color%}'
 if ( _we_are_in_gnu_screen ); then
+    # Magic escape sequence for GNU Screen to update their titles
+    # dynamically by grabbing prompt line.
     PROMPT=$'%{\ek\e\\%}'$_prompt_base
 else
     PROMPT=$_prompt_base