Revision 0fa5eadc
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
config/lx_office.conf.default | ||
---|---|---|
105 | 105 |
|
106 | 106 |
# autorun lines will be executed after autologin. |
107 | 107 |
# be warned that loading huge libraries will noticably lengthen startup time. |
108 |
autorun = require "bin/mozilla/common.pl"; |
|
109 |
= use English qw(-no_match_vars); |
|
110 |
= use List::Util qw(min max); |
|
111 |
= use Sort::Naturally; |
|
112 |
= my ($a, $b, $e, $f, @a1, @a2, %h); |
|
113 |
= sub take { my $max = shift; my $r = ref($_[0]) eq 'ARRAY' ? $_[0] : \@_; return @{$r}[0..List::Util::min($max, scalar(@{$r})) - 1]; } |
|
108 |
#autorun = require "bin/mozilla/common.pl"; |
|
109 |
# = use English qw(-no_match_vars); |
|
110 |
# = use List::Util qw(min max); |
|
111 |
# = sub take { my $max = shift; my $r = ref($_[0]) eq 'ARRAY' ? $_[0] : \@_; return @{$r}[0..List::Util::min($max, scalar(@{$r})) - 1]; } |
|
114 | 112 |
|
115 | 113 |
# location of history file for permanent history |
116 | 114 |
history_file = users/console_history |
Auch abrufbar als: Unified diff
Bei der Console nicht automatisch versuchen, Sort::Naturally zu laden