On Thu, Jun 16, 2011 at 06:32, Helmut Schneider <jumpe...@gmx.de> wrote: snip > Although I don't like the idea to construct a script to make other > scripts work with tmux I must admit that it works fine. snip
I am confused, isn't that what you are doing already with check_for_root_and_start_screen.sh? All you have to do is move the root checking logic into tmuxify, or better yet into a separate function (since they are orthogonal), and then say source ~/.function_definitions tmuxify $0 "$@" rootify $0 "$@" at the top of your scripts. -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users