all repos — nixfiles @ fd13085374ca2d366b6fe9b174ef3e998008a2f3

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 --query count or set --local count 1
    sed 1,{$count}d $argv[2..]
end