mirror of
https://github.com/gryf/tabbedalt.git
synced 2025-12-17 19:40:31 +01:00
2
tabbed
2
tabbed
@@ -450,7 +450,7 @@ sub on_start {
|
|||||||
} while @argv && $argv[0] ne "-e";
|
} while @argv && $argv[0] ne "-e";
|
||||||
|
|
||||||
# Ugly as hell ``session'' implementation
|
# Ugly as hell ``session'' implementation
|
||||||
if (!(@argv) && (qx(ps x|grep "[ ]urxvt "|wc -l) < 2) && scalar(@{$self->{session}})){
|
if (!(@argv) && (qx(ps x|grep "[ ]urxvt\$"|wc -l) < 2) && scalar(@{$self->{session}})){
|
||||||
my $count = 0;
|
my $count = 0;
|
||||||
my @command;
|
my @command;
|
||||||
for my $item (@{$self->{session}}){
|
for my $item (@{$self->{session}}){
|
||||||
|
|||||||
Reference in New Issue
Block a user