On Wed, May 2, 2012 at 3:02 PM, Sinbad <sinbad.sin...@gmail.com> wrote:
> On Wed, May 2, 2012 at 2:23 PM, Nicholas Marriott
> <nicholas.marri...@gmail.com> wrote:
>> You have an alias or something for tmux.
>>
>>
>> On Wed, May 02, 2012 at 01:00:51PM +0530, Sinbad wrote:
>>> On Wed, May 2, 2012 at 11:50 AM, Nicholas Marriott
>>> <nicholas.marri...@gmail.com> wrote:
>>> > echo string|tmux loadb -, tmux pasteb
>>> >
>>> > Or just use tmux send-keys
>>> >
>>> >
>>> > On Wed, May 02, 2012 at 11:25:52AM +0530, Sinbad wrote:
>>> >> how do i copy a string to tmux paste buffer from bash script.
>>> >> i'm looking for something like this,
>>> >>
>>> >> tmux readbuf < "string"
>>> >>
>>> >> tmux writebuf ? #which will dump the read-contents on to the active 
>>> >> window.
>>> >>
>>> >> how do i do that.
>>> >>
>>> >> cheers
>>> >>
>>> >> ------------------------------------------------------------------------------
>>> >> Live Security Virtual Conference
>>> >> Exclusive live event will cover all the ways today's security and
>>> >> threat landscape has changed and how IT managers can respond. Discussions
>>> >> will include endpoint security, mobile security and the latest in malware
>>> >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>> >> _______________________________________________
>>> >> tmux-users mailing list
>>> >> tmux-users@lists.sourceforge.net
>>> >> https://lists.sourceforge.net/lists/listinfo/tmux-users
>>>
>>> when i run this command inside tmux in bash shell, i am getting the
>>> following error.
>>>
>>> echo one | tmux loadb -
>>>
>>> sessions should be nested with care. unset $TMUX to force.
>>> -bash: export: `-': not a valid identifier
>
> yes, i have an alias, i am a non-root user, so i compiled in my local
> direcotory.
> and have a path to the tmux binary. along with that i'm also setting one of 
> bash
> ENV variable. my alias is as follows.
>
> alias tmux="/usr/home/sinbad/bin/tmux; export MUX='tmux'"

I found the flaw, my alias is screwed up. thanks for pointing it out Nicholas.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to