tmux使用我当前的环境启动新窗格 [英] tmux start new pane with my current environemnt

查看:134
本文介绍了tmux使用我当前的环境启动新窗格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在做一个Android构建,它需要提供构建环境的源代码。如果我创建了一个新的tmux窗格,该如何保留我所有的环境变量而又无需再次采购buildenv?

I am doing an Android build and it needs to source the build environment. If I create a new tmux pane, how can I carry over all my environment variables without sourcing the buildenv again?

推荐答案

tmuxinator 可能适合您的需求,请参阅如何设置tmux,以使其在打开指定窗口的情况下启动?

tmuxinator might fit your needs, please refer to How to set up tmux so that it starts up with specified windows opened?

希望这会有所帮助:)

这篇关于tmux使用我当前的环境启动新窗格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆