Productive Terminal (zsh + TotalTerminal)

15 Aug 2014

I just installed oh-my-zsh today and upgrade TotalTerminal (TotalTerminal's previous version is broken on my Mac)

Here are the settings I use:

REPORTTIME=5 to report the time of command that runs longer than 5 seconds ZSH_THEME="ys" for the ys theme with customized prompt:

function git_prompt_info() { ref=$(git symbolic-ref HEAD 2> /dev/null) || return echo “$ZSH_THEME_GIT_PROMPT_PREFIX${ref#refs/heads/}$ZSH_THEME_GIT_PROMPT_SUFFIX” }

PROMPT=” %{$fg[yellow]%}${current_dir}%{$reset_color%}\ ${git_info} \ %{$fg[white]%}[%*] %{$terminfo[bold]$fg[red]%}$ %{$reset_color%}”

We need to override ```git_prompt_info``` and remove the dirty-file-tracking mechanism, otherwise your prompt would be very slow. We also enable the plugin: ```plugins=(history-substring-search)```, so that it's easy for me to search through history. Ctrl+R is just so inconvenient. [Source Code Pro Font]( is used And I use TotalTerminal for single-key access to a terminal which slides down from the top of the screen.

Give it a kudos