Works perfect, I knew I was missing the obvious. But I didn't know I
could use --tmux command-- to send a command to che current tmux.
Thanks!
On Thu, Sep 25, 2014 at 6:27 PM, Nicholas Marriott
wrote:
> Try:
>
> alias c='clear; [ -n "$TMUX" ] && tmux clear-history'
>
>
> On Thu, Sep 25, 2014 at
Try:
alias c='clear; [ -n "$TMUX" ] && tmux clear-history'
On Thu, Sep 25, 2014 at 06:16:48PM +0200, Paolo Bolzoni wrote:
> Dear list,
>
> Sometime I clear the screen to exec a command with a long output
> that I later navigate using the tmux history ability.
>
> So far so good, without tmux t
Dear list,
Sometime I clear the screen to exec a command with a long output
that I later navigate using the tmux history ability.
So far so good, without tmux the command "reset" works fine. But
with tmux I have to use clear and write clear-history in tmux
command prompt. I would like to write an