On Fri, May 24, 2013 at 10:35 AM, Marco <net...@lavabit.com> wrote:

> On 2013–05–14 Nicholas Marriott wrote:
>
> > The easiest solution is to run "stty -ixon; vim"
>
> This is what I'm doing now. My suggestion of setting stty in .zshenv
> broke too many other programs. Calling the programs like “stty
> -ixon; vim” has the disadvantage that the automatic window renaming
> displays “stty” as window name for all programs. Which means I not
> only have to prepend “stty -ixon;” but also set the window title
> according to the program, a feature which I really liked about tmux.
>

That renaming behavior (based on the actual command string, not the process
that is running) sounds like what oh-my-zsh does. You could probably modify
omz_termsupport_preexec in lib/termsupport.zsh to ignore your "stty prefix"
(similar to the way it strips off sudo/ssh/rake and their options from the
start of the command string before using the rest as the basis of the new
name).


-- 
Chris
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to