all repos — nixfiles @ 9bb7736b1a18dc2742ea82eebc045b62bf6e2c4e

System and user configuration, managed by nix and home-manager

user/settings/fish/functions/skiphead.fish (view raw)

1
2
3
4
function skiphead --wraps='sed 1d' --wraps=sed --argument-names count
    set --local count $count 1
    sed 1,{$count[1]}d $argv[2..]
end