made nest prevent message more helpful
This commit is contained in:
parent
4f372ead42
commit
18dd30f101
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ pub fn get_sessions() -> Option<Vec<Session>> {
|
||||||
/// show the tmux nest text if env var is not unset
|
/// show the tmux nest text if env var is not unset
|
||||||
pub fn prevent_nest() {
|
pub fn prevent_nest() {
|
||||||
if env::tmux() {
|
if env::tmux() {
|
||||||
println!("Sessions should be nested with care; unset TMUX or use the '-n' flag to allow.");
|
println!("To nest sessions, use the -n flag.");
|
||||||
exit(6);
|
exit(6);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue