Skip to content

Commit

Permalink
Update bl
Browse files Browse the repository at this point in the history
  • Loading branch information
konnano authored Sep 16, 2024
1 parent 013006d commit 46baf9e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions bl
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ MAIN:{
}
if( $AR[2] and $AR[2] !~ /^\d+$/ and ( $re->{'LINK'} and $re->{'LINK'} == 7 or $re->{'DEL'} ) ){
DB_1( $re ); my $i = ( $AR[2] eq '.' or $AR[2] eq '-c' ) ? 3 : 2;
for( ;$i<@AR;$i++ ){
for( ;$i<@AR;$i++ ){ exit unless %{$re->{'HASH'}} or %{$re->{'DMG'}};
die " $AR[$i] Not Formula or Cask\n" unless $re->{'HASH'}{$AR[$i]} or $re->{'DMG'}{$AR[$i]};
$re->{"${AR[$i]}undel"} = $ref->{"${AR[$i]}undel"} = 1;
$ENV{'HOMEBREW_NO_AUTOREMOVE'} = 1;
Expand Down Expand Up @@ -190,7 +190,7 @@ sub Died_1{
# Uninstall : rm -rf ~/.BREW_LIST $MY_BREW/share/zsh/site-functions/_bl\n $brew" :
"\n # Uninstall : rm -rf ~/.BREW_LIST $MY_BREW/share/zsh/site-functions/_bl\n $brew";
print"\033[?7l" if -t STDOUT;
print" Enhanced brew list : version 1.27_8\n Option\n -new\t: creat new cache : argument '.' rmdir WAIT
print" Enhanced brew list : version 1.27_9\n Option\n -new\t: creat new cache : argument '.' rmdir WAIT
-l\t: formula list : First argument Formula search : Second argument '.' Full-text search
-i\t: instaled formula list\n -\t: brew list command\n -lb\t: bottled install formula list
-lx\t: can't install formula list\n -s\t: type search formula name
Expand Down Expand Up @@ -802,7 +802,8 @@ sub Top_1{
$ls .= " : $bui" if $re->{'HASH'}{$build};
}
if( $re->{'OS'}{"${ls}lfont"} or $re->{'OS'}{"${ls}mfont"} ){ push @font,$ls;
}else{ $ls =~ s/^([^:]+)\s:\s(.+)/$1 [build] => $2\n/ ? $top .= $ls : Mine_1( $ls,$re,0 );
}else{ $ls =~ s/^([^:]+)\s:\s(.+)/$1 [build] => $2\n/ ? $top .= $ls :
( $re->{'FOR'} or $re->{'CAS'} and -t STDOUT ) ? Mine_1( $ls,$re,0 ) : 0;
}
}
} $re->{'MAC'} ? Mine_1( ' ==> homebrew/cask-fonts',$re,0 ) : Mine_1( ' ==> homebrew/linux-fonts',$re,0 ) if @font;
Expand Down

0 comments on commit 46baf9e

Please sign in to comment.