l 5 logify: init
This commit is contained in:
parent
9c49d9a439
commit
c9ef03188c
@ -12,6 +12,7 @@
|
||||
vimperator = pkgs.callPackage ./firefoxPlugins/vimperator.nix {};
|
||||
};
|
||||
init = pkgs.callPackage ./init/default.nix args;
|
||||
logify = pkgs.callPackage ./logify/default.nix {};
|
||||
mk_sql_pair = pkgs.callPackage ./mk_sql_pair/default.nix {};
|
||||
mpv-poll = pkgs.callPackage ./mpv-poll/default.nix {};
|
||||
pop = pkgs.callPackage ./pop/default.nix {};
|
||||
|
7
lass/5pkgs/logify/default.nix
Normal file
7
lass/5pkgs/logify/default.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ curl, writeDashBin }:
|
||||
|
||||
#usage: ping 8.8.8.8 |& logify -I
|
||||
writeDashBin "logify" ''
|
||||
date_args=''${@:--Is}
|
||||
while read line; do echo $(date "$date_args") $line; done
|
||||
''
|
Loading…
Reference in New Issue
Block a user