On 3 April 2013 18:43, Franco <[email protected]> wrote:
> Good evening tmuxers. In my .tmux.conf file I have a line like this
>
> bind e command-prompt -I "%d/%m/%g %H:%M: " -p "#" 'run-shell "echo %1 >>
> $NOTE; tmux display Done."'
>
> This basically prompts me for a string and appends it to a text file (the
> $NOTE
> environment variable).
>
> It works, but not with every input; example:
>
> > test "
As mentioned on IRC, you would need to escape it.
> Do you know wheter there's a way to do it? Or a similar way/tool to obtain
> what
> I was doing in the first place ('record' notes on a txt file)?
As mentioned on IRC also, not recommended you use tmux in this way if
you need special characters. Would suggest any number of console TODO
list managers out there, or vim, etc.
-- Thomas Adam
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
tmux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-users